Android Question CustomListView Scroll with Timer

ddefrain

Member
Licensed User
Longtime User
Hi All.
Is it possible to scroll a CustomListView with a Timer like manual scrolling (Not With JumpToItem)

CustomListView



Thank's in Advance
Best Regards.
 
Solution
B4X:
Do While True
    CustomListView1.sv.ScrollViewOffsetY = CustomListView1.sv.ScrollViewOffsetY + 3dip
    Sleep(15)
Loop

Looks good in release mode.

ddefrain

Member
Licensed User
Longtime User
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
Licensed User
Longtime User
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
Licensed User
Longtime User
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