Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Hiding the view in fragments #30

Closed
jmmosa opened this issue Dec 16, 2012 · 5 comments
Closed

Hiding the view in fragments #30

jmmosa opened this issue Dec 16, 2012 · 5 comments
Assignees
Milestone

Comments

@jmmosa
Copy link

jmmosa commented Dec 16, 2012

When I tried hiding the flipview the only that was hidden was the current page. The other pages are still there. I was to use 2 fragments with flipviews and my aim was to show different data in the 2 flipview but when i tried switch to different fragments. The previous fragment the other pages of the flipview even though the fragment was already hidden..

@openaphid
Copy link
Owner

Would you mind make a sample to demonstrate the issue?

@jmmosa
Copy link
Author

jmmosa commented Dec 17, 2012

oh it didnt appeared anymore after i use the develop branch. Thanks for replying.

@jmmosa jmmosa closed this as completed Dec 17, 2012
@jmmosa jmmosa reopened this Dec 28, 2012
@jmmosa
Copy link
Author

jmmosa commented Dec 28, 2012

I reopened it because the problem occured again but this time its like this:
I have 2 fragments and both of them have flipview + the imageloader that the default flipview has. THe 1st fragment has only 1 view then the 2nd fragment has 2. The problem occurs when i flip the flipview first time in the fragment 2. a white view will show at first and then it will show the real view then if I flip it several times it will go white. But for example the flipview in fragment 1 has 0 view then the problem wont show, but when I added a view in the fragment 1 flipview and updated it it will not show the problem. The problem will occur when I close and reopen the app.

@openaphid
Copy link
Owner

Do you correctly invoke FlipViewController.onResume() and FlipViewController.onPause() during the fragment lifecycle?

And BTW, please refer to my original post: http://openaphid.github.com/blog/2012/09/21/aphid-flipview-for-android-v0-dot-9-beta-released/ ; it's recommended NOT to use multiple FlipViewControllers in one activity.

openaphid added a commit that referenced this issue Dec 29, 2012
@ghost ghost assigned openaphid Dec 29, 2012
@openaphid
Copy link
Owner

Works in the new test

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants