Android Question CustomListView Scroll with Timer

Solution
B4X:
Do While True
    CustomListView1.sv.ScrollViewOffsetY = CustomListView1.sv.ScrollViewOffsetY + 3dip
    Sleep(15)
Loop

Looks good in release mode.

ddefrain

Member
B4X:
Do While True
    CustomListView1.sv.ScrollViewOffsetY = CustomListView1.sv.ScrollViewOffsetY + 3dip
    Sleep(15)
Loop

Looks good in release mode.

Thank's for the reply @Erel

Then I think I need to move to xCustomListview 'cause I don't see the ScrollViewOffsetY propertie in the current CustomListView
....or is it possible to implement the ScrollViewOffsetY in the old CustomListView?, 'cause it's a huge project.
 
Upvote 0

ddefrain

Member
You should switch to xCLV. It is quite simple to change.

It will allow you to use many things such as XUI Views and more.
Thank's for the reply @Erel

I will move to XUI Views then; Moving to that one I will use the Drawer (Appcompat) too.

I'd created a new project with the sample you gave me and works like a charm
B4X:
Do While True
    CustomListView1.sv.ScrollViewOffsetY = CustomListView1.sv.ScrollViewOffsetY + 3dip
    Sleep(15)
Loop

Thank's
Best Regards!
 
Upvote 0

ddefrain

Member
Thank's for the reply @Erel

I will move to XUI Views then; Moving to that one I will use the Drawer (Appcompat) too.

I'd created a new project with the sample you gave me and works like a charm
B4X:
Do While True
    CustomListView1.sv.ScrollViewOffsetY = CustomListView1.sv.ScrollViewOffsetY + 3dip
    Sleep(15)
Loop

Thank's
Best Regards!
As @Erel says it is very simple and easy to implement XUI Views
Here are my final results (SQL Server Connection)

Thank's @Erel

Best Regards 🙏

 
Last edited:
Upvote 0
Top