android-flip
android-flip copied to clipboard
getView() in TravelAdapter class recycles TextViews and they don't update right away
In the provided TravelAdapter class, there's a getView() method. In it, I use a global boolean to determine whether or not a TextView should be "some text" or "" (empty).
However, the TextView does not update immediately and always takes 2 flips away from the current page for it to update.
What is the cause of this and how do I fix it?
Hi I am facing the same issue. I have added buttons in my view so on clicking on any button it should change it's state.
When my adapter has only one page & I click on any button it does not update the state value, so the state of button does not change & I always have to flip to change the state.But if I have more than one page it works fine.
Please suggest me anything.
I have a similar issue. I'm downloading images from the Internet and use a placeholder image while downloading. In some instances, although the image is downloaded and shown, when trying to flip, the image changes to the placeholder one. If I go 2 flips away and come back, the problem is solved.
anyone got any solution...?
I have a similar issue. anyone got any solution?