android-flip
android-flip copied to clipboard
Flash screen when move to previous view at FlipView first time to show
When i set non-zero selection index for a flipview like:
flipView.setSelection(5);
in an Activity. Then when i open this Activity at the first time, i move to previous view(the fourth view in this flipView, not next view). There is a flash screen occured. The flipView will show the previous view (the fourth view) shortly.
i've found some problem.
private final LinkedList<View> bufferedViews = new LinkedList<View>();
maybe we need keep this field thread safty.
in method: void com.aphidmobile.flip.FlipViewController.flippedToView(int indexInAdapter, boolean isPost)
we needn't to call:
updateVisibleView(bufferIndex);
I removed this call in flippedToView() method, and everything works fine.
it's not working bro i tried.?
& i have also issue with images.