Android Question Seek Bar basic implementation

Branko Milosevic

Active Member
Licensed User
This should be easy but not for me

Want to implement a seek bar like a slider control in VB.

Capture seekbar value change to update text value in a nearby label real-time, or alternatively display value in a thumbnail above the bar.

A list of events and methods associated with seekbar would help.
Thanks,
 

Branko Milosevic

Active Member
Licensed User
OK to answer my own question it is as simple as it gets:

B4X:
Sub seekbar1_ValueChanged(Value As Int, UserChanged As Boolean)
    Label2.Text = NumberFormat(Value/10, 1,1)
       
End Sub
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…