Closed Stingray1984 closed 10 years ago
Fixed the missing XML background issue, thanks! It's working now without the background activity.
I couldn't reproduce the one with the FragmentStatePager - if you could send me the code, I'll check again. However, adding pages dynamic is not yet supported automatically - you'll have to call the invalidateParallaxParameters()
after adding one or more. Please verify this!
Thanks! :)
I have tried the invalidateParallaxParameters(), but didn't notice any change, so will experiment some more, maybe it was done in the incorrect place. If I don't succeed I will share part of the code to see if you can help.
Cheers!
OK, let me know how it turns out. In the meantime, I'll close this issue - if the FragmentStatePager still behaves weird, please open a new one. Thanks!
Love the component you've made!
However, I'm encountering a couple of problems, which I haven't been able to save yet. If I leave out the background of the XML, the app crashes because of an inflation exception. Even if it is specified in the activity. Might be nice to fix this one at a certain time.
The other thing: The background is not drawn before there was a swipe/motion event. Have you ever experienced this? I think it happened after I made the FragmentStatePagerAdapter so that it could add Fragments dynamically.
Any of this sounds familiar? I'm still looking to see if I can find anything in the code, if so, I will let you know as well.