Page 1 of 1

Update an item in infinite scroll

Posted: Sun Mar 06, 2016 4:13 am
by Leonardo Valentin Zeferino

Hi!

I deployed with success the infinite scroll feature that described in your tutorial.
But now I'm in trouble to update an especific item of the list. The problem consist in how the system knows what item it needs update?

Example: I have a list with product and like button that shows the quantity of likes. When the user clicks in like button, the system needs to count one more like. So if the number is 2, it needs to show 3 after the user clicks in the like button. The logic to insert this new like to datsbase is okay. The problem, as I said before, is how to update only the quantity of this item and mantain the position in the infinte scroll?

Thanks


Update an item in infinite scroll

Posted: Fri Mar 11, 2016 11:49 am
by Illya Stepanov

Hi Leonardo -

Our tutorial just shows an example of infinite scroll implementation in a jQuery Mobile app other modifications and additions should be developed by you.

If you could show us what you have tried so far and what exactly is not working, we will try to assist you with details.


Update an item in infinite scroll

Posted: Mon Oct 10, 2016 4:18 pm
by Joe Sharples

do you have a link to the infinite scroll tutorial? i can't seem to find it anywhere


Update an item in infinite scroll

Posted: Mon Oct 10, 2016 5:33 pm
by Illya Stepanov

Hi Joe -- Please check out here: https://blog.appery.io/2015/07/how-to...