Open ShreyashPromact opened 9 years ago
I have a similar Problem. Flinging does not work correctly. This Problem was already mentioned in Issue #59 in the last comment.
@ksoichiro can you please update library with the smoothness in mention example activity? I am really waiting for this update, otherwise i have to move on other library that have similar functionality and effect.
Waiting to hear from you.
Thanks. Sincerely, Shreyash.
@ShreyashPromact I'd like to fix it in future but I need time to do this. I don't know how to fix it yet, so currently I can't even tell you when. Sorry.
@ksoichiro Thanks for reply. I am not sure, but this might be helpful to you for updating the Library. I guess you need to update it with ScrollView instead of the TouchInterceptFrameLayout. I have seen that you are using TouchInterceptFrameLayout for Top portion, which is actually not reacting as smooth scroll, instead you should use scrollview and manage it.
FYI, I have try with extending ScrollView instead of FrameLayout (which you have done right now), but I am not getting success in it. You might have to do some tweak implementation to handled it.
Have a look at this code and its implementation, you might got some idea to update smoothness. https://github.com/kmshack/Android-ParallaxHeaderViewPager
Sincerely, Shreyash
Thank you for your information.
I struggled to this problem this week, but still cannot fix it.
I also tried another approach and added FlexibleSpaceWithImageWithViewPagerTabActivity
.
It doesn't have the same behavior as FlexibleSpaceWithImageWithViewPagerTab2Activity
, but at least, it has smooth scrolls.
Please check it if you're interested in.
@ksoichiro I have seen the Activity you have updated. I have not checked it in detail code, But it looks like you have added header to all the child item of the view pager. Even top portion should remain as it is if someone scroll it horizontally. You have make top portion scroll-able horizontally. That is not the behavior normally developers are looking for.
Please update it to proper one. Anyway thanks for your time to update that. I am still waiting for the update if you can able to do that.
Sincerely, Shreyash.
@ShreyashPromact Thanks for checking. Yes, as I wrote above, I know that it's not the same as the previous one. Just checking. Sorry for confusing you. I'll continue debugging it.
@ksoichiro Normally developer and client wants default behavior that exist in all other apps like Pintrest, Google plus and others. That's why i suggest you to make in that manner.
Anyway, I will wait for update. Thanks.
Sincerely, Shreyash.
Hi @ksoichiro , Please solve this scrolling problem asap. I just got stuck in this issue cause I am facing the same problem
@ShreyashPromact @deepakrokz
I updated both examples FlexibleSpaceWithImageWithViewPagerTabActivity
and FlexibleSpaceWithImageWithViewPagerTab2Activity
.
I think I should test them more and refactor them, but in case you're in a hurry, I share them at this moment.
And eventually, FlexibleSpaceWithImageWithViewPagerTabActivity
seems better than the other.
(Of course, I fixed that the all children Fragments have their own image.)
Could you check their behaviors if you have time?
@ksoichiro Thanks for the quick update. I will check it later. Right now busy with some other works. @deepakrokz you can try and give your feedback for that one can com to know about the result of update.
Sincerely, Shreyash.
surely I am going to check this out
Is there a solution for the flinging issue? When I fling and the actionbar can be scrolled, it stops the flinging and might not even show/hide the actionbar.
@AndroidDeveloperLB
Hello, Please Use https://github.com/kmshack/Android-ParallaxHeaderViewPager instead of the current library. I have seen that it works Very smooth. I have try this ObservableScrollview but is seems like hanging in middle of the scroll. Author of this library is trying to get it resolved. Till that you have use the given library.
Sincerely, Shreyash
@ShreyashPromact Nice sample, but it doesn't change the actionbar size when you are not on the top of the listView . How would you change this? Also, are you sure it's about the same? would it work with normal Actionbar (that's in a toolbar), and not just a header?
@AndroidDeveloperLB
I suggest please create question on Stackoverflow with your requirement. Try to put image for what you want and what you are getting up-till now.
This repo is to provide the effect on the scroll of the content. If there is any issue related to this library then only you should continue here else lets meet on Stackoverflow for your issue.
Sincerely, Shreyash
@ShreyashPromact Here: http://stackoverflow.com/q/31990108/878126
Hello, I have try all of your demo. I have once requirement to have Sticky Tabs with the effect you have implemented. I have use your Sample activity with name "FlexibleSpaceWithImageWithViewPagerTab2Activity". In that when i scroll it is not scrolling smoothly as same like scrollview but when it is scrolled till toolbar it is scrolling smoothly. I guess it is because of the "TouchInterceptionFrameLayout" But it should be work smoothly when someone scroll it.
Can you please update your code to have smooth scrolling effect for that Sample Activity, or please let me know what i have to update to have smooth scroll effect.
Thanks.