Android Question Listview...Strange !

skipsy

Member
Licensed User
Longtime User
Hi all,

sometimes as I scroll a listview and remove the finger the background stay BLACK (sometimes not).

I have set the background transparent.
B4X:
Listview_PROD.Initialize( "ListView_PROD_ItemClick" )
Listview_PROD.ScrollingBackgroundColor = Colors.Transparent

When le listview is called :
listview1.png

... And sometimes after a scroll :
listview2.png


The list is filled this way :
B4X:
Listview_PROD.AddSingleLine( STR_DIV )

Android bug or I am doing something wrong ???

Tks,
WW
 

skipsy

Member
Licensed User
Longtime User
Can you upload your project (File - Export as zip)?
The project is pretty big...
As I prepared a "light" one to send, I realized it works perfectely :eek:
it sounds there is a parasite that listview does not like somewhere in the code... I have to find it now !!
Merry christmas to all :)
 
Upvote 0

skipsy

Member
Licensed User
Longtime User
Hi,
I don't know why but the problem is fixed.
I have removed the line
B4X:
Listview_PROD.Initialize( "ListView_PROD_ItemClick" )
... As the listview "comes" from a layout. It works now.
The strange issue is that in a short project testing listview I never had to write
B4X:
Listview_PROD.ScrollingBackgroundColor = Colors.Transparent

Thks.
 
Upvote 0
Top