FadingActionBar icon indicating copy to clipboard operation
FadingActionBar copied to clipboard

2 bugs on the ListView sample

Open jcfevre opened this issue 11 years ago • 20 comments

On the listview sample : 1- in landscape mode, the list go over the image when I'm scrolling down (see the attchemnt)

2 - in portrait mode, When I'm at the top of the list (arriving on the screen) this is fine. But there is a light grey overlay that come from the bottom and overlays the list while I'm scrolling down. ( see the attchemnt)

Tested on Galaxy S (the first one) with Cyanogen, android version 4.1.2

landscape overlay

jcfevre avatar Jun 13 '13 15:06 jcfevre

Hi, thanks for the heads-up!

Seems to be a problem with the parallax effect, can you check whether the "no parallax" demo works fine?

ManuelPeinado avatar Jun 17 '13 06:06 ManuelPeinado

All others samples of your demo work fine, even with parallax effect. Only the ListView sample has this problem.

I'll try tonight to remove the parallax effect in my application with the listView sample...

jcfevre avatar Jun 17 '13 06:06 jcfevre

I guess the other demos use ScrollViews instead of ListView, so this must be a ListView problem only.

On Mon, Jun 17, 2013 at 8:52 AM, jcfevre [email protected] wrote:

Aller others samples of your demo are working fine, even with parallax effect. Only the list view sample has this problem.

I'll try tonight to remove the parallax effect in my application...

— Reply to this email directly or view it on GitHubhttps://github.com/ManuelPeinado/FadingActionBar/issues/6#issuecomment-19528780 .

ManuelPeinado avatar Jun 17 '13 06:06 ManuelPeinado

This is broken for me, too. I'll provide a fix ASAP. Stay tuned

ManuelPeinado avatar Jun 17 '13 07:06 ManuelPeinado

Fixed in 2.2.0!!

Thanks again for reporting the issue.

ManuelPeinado avatar Jun 22 '13 07:06 ManuelPeinado

Hi Manuel,

I'm sorry, but the bug still exists in the demo application (after updating it).

If you don't reproduce the bug, could switch between portrait and landscape mode on the listview sample ?

2013/6/22 ManuelPeinado [email protected]

Fixed in 2.2.0!!

Thanks again for reporting the issue.

— Reply to this email directly or view it on GitHubhttps://github.com/ManuelPeinado/FadingActionBar/issues/6#issuecomment-19852889 .

Jean-Charles

jcfevre avatar Jul 01 '13 18:07 jcfevre

Here the steps to see the bug :

  • go to the listview sample
  • switch your screen in lanscape mode
  • scroll down to the end of the list
  • scroll up to the top of the list
  • scroll down slowly : here is the bug (the list go over the image )

The other bug (overlay) seems to be fixed.

Thanks

jcfevre avatar Jul 04 '13 08:07 jcfevre

That's weird, I thought I had solved both issues. Anyway, thanks a lot for the heads up. I'll look into this as soon as I can. El 04/07/2013 10:01, "jcfevre" [email protected] escribió:

Here the steps to see the bug :

  • go to the listview sample
  • switch your screen in lanscape mode
  • scroll down to the end of the list
  • scroll up to the top of the list
  • scroll down slowly : here is the bug (the list go over the image )

The other bug (overlay) seems to be fixed.

Thanks

— Reply to this email directly or view it on GitHubhttps://github.com/ManuelPeinado/FadingActionBar/issues/6#issuecomment-20463993 .

ManuelPeinado avatar Jul 07 '13 19:07 ManuelPeinado

@jcfevre Just released v2.2.4 which I'm pretty sure fixes all ListView-related issues. Thanks again for your help!

ManuelPeinado avatar Jul 13 '13 09:07 ManuelPeinado

Sorry, but... after updating application, I always have a problem in landscape mode with listview.

the behavior is slightly different, but the text is always cover image.

It's better, but not perfect...

jcfevre avatar Jul 17 '13 11:07 jcfevre

It works perfectly for me now, what device/version are are using for your tests? Thanks for helping out.

ManuelPeinado avatar Jul 17 '13 13:07 ManuelPeinado

I'm using Smg Galaxy S III Android 4.1.2

jcfevre avatar Jul 17 '13 14:07 jcfevre

I'm having the same issue on a HTC One, 4.2.2.

Seems to be the parallax + ListView problem. Any ideas about what could be wrong?

slidese avatar Sep 24 '13 22:09 slidese

me too i have the same problem on Nexus 4. parallex + ListView problem

Nammari avatar Oct 20 '13 07:10 Nammari

Same issue here, Nexus 4, Android 4.4.2. It happens in the ListView example if I first scroll down, then scroll back to the top, and then scroll down again.

vickychijwani avatar Feb 25 '14 08:02 vickychijwani

Same issues on 4.4.2 Motorola Moto G. Rotating the display will reproduce the issue. And this is more of a problem in case you have a fragment with this fading actionbar in the backstack and you return to it with the back button - the backround is always messed up.

DanielNovak avatar Feb 27 '14 19:02 DanielNovak

I think I found a clue what might be happening - the listview scroll position is persisted during orientation change, but the fading actionbar doesn't take this into account. I guess it assumes that it always starts from the top scroll position.

Setting listView.setSaveEnabled(false) will fix this, but the scroll state is lost during orientation change.

DanielNovak avatar Feb 27 '14 20:02 DanielNovak

Is there another solution/workaround for this other than not-saving the listView's scroll state ?

AndroidDeveloperLB avatar Mar 17 '14 09:03 AndroidDeveloperLB

i am also facing same problem in my app which i have developed by using manuelPeinado/FadingActionBar library . i think app problem is " the app using portrait mode layout parameters (height and all that ) in landscape mode."

akash09766 avatar Dec 09 '14 08:12 akash09766

did anyone find solution . no parallax is also not working in my project

akash09766 avatar Feb 11 '15 06:02 akash09766