You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.
Hi openaphid and everyone,
I'm loading some image from internet using a lib https://github.com/novoda/ImageLoader like your Demo: Flip Async Content.
The issue is when flip, the image is not show. I guess the cause is flipView take screenshot before the image load complete. But I dont know how to fix this.
So please fix this or suggest me something to do this. I already try refreshPage() but it doesn't effect.
Load complete image
But when flip: image is gone.
The text was updated successfully, but these errors were encountered:
Thank you, your update works very well.
But I have a new small issue with new FlipViewController:
In your demo FlipButtonActivity, I modified to add more button when flip complete at position near Adapter.getCount()
flipView.setOnViewFlipListener(new ViewFlipListener() {
@Override
public void onViewFlipped(View view, int position) {
if(position > mAdapter.getCount() - 3)
mAdapter.addMoreButton();
}
});
in class Adapter:
int size = 5;
public void addMoreButton(){
size += 5;
}
@Override
public int getCount() {
return size;
}
The issue is: When flip to page 4, I can't flip to page 5. But I think mAdapter already added page 5 because when set MAX_TIP_ANGLE = 90; I see number 5. (hope you understand, my english is not good, I can post a picture if you want)
Note that older versions of FlipViewController isn't have that isssue.
So please help me to fix this issue to add dynamic page into Adapter.
Thank you and happy new year!
Hi openaphid and everyone,
I'm loading some image from internet using a lib https://github.com/novoda/ImageLoader like your Demo: Flip Async Content.
The issue is when flip, the image is not show. I guess the cause is flipView take screenshot before the image load complete. But I dont know how to fix this.
So please fix this or suggest me something to do this. I already try refreshPage() but it doesn't effect.
Load complete image
But when flip: image is gone.
The text was updated successfully, but these errors were encountered: