Skip to content Skip to sidebar Skip to footer

Swipe Card View Id How To Send To Volley Server When Swipe Right

i'm developing an android app for job search. i have used Swipe card library for to see jobs like Tinder. here i'm fetching all the job using PHP JSON. every job has different id.

Solution 1:

Instead of using SharedPreferance, just use the position you recieved in cardSwipedRight(). Using that position, get the particular item from arraylist using arraylist.get(position). Then use that object returned , and get both IDs. Then pass those values to that volley method.

** Using SharedPreferance for this purpose is not at all recommented.

Post a Comment for "Swipe Card View Id How To Send To Volley Server When Swipe Right"