Convert Wheel .java to B4A

Input Wheel library

Hi there, there is already some people who have developed a library that do what you're trying to do here in Basic4Android check them out here

http://www.b4x.com/forum/additional-libraries-classes-official-updates/24319-class-clswheel-input-wheels.html#post140741

and

http://www.b4x.com/forum/additional-libraries-classes-official-updates/17028-wheelview-library.html#post97392

and also here

http://www.b4x.com/forum/bugs-wishlist/14620-spin-wheel-4.html#post93549

hope this helps!

Cheers,
Walter
 
Upvote 0
Hi,

I come across them already but some are buggy.

I happen to work out how to convert that .java file into B4A but can't work out how to use it.

I know how to include the lib into B4A and so far I have:

Code: Copy
Dim My_Wheel As Wheel

but that is as far as I have got as I don't know where to go from here..

Maybe someone can help and might know how to do something with it.

I was hoping to do something like this with a logo along side the name and having the layout/style look the same.

android-wheel-cities.png


Anyone got any ideas?
 

Attachments

Upvote 0
Hello,

I have tried that but I wanted it to look more like the iPhone version of the scroll wheel.

I noticed that someone has made it look like the iOS version (as per post 15 of the link you told me about) but that is very buggy as it starts and stops when scrolling down/up the list and seems to stop at the end where I would of thought it would keep scrolling.

The original one you posted works but it doesn't look the way I want it as I wanted it to look more like this:

13174d1344016598-wheel-b4a-class-sample-screen-iphone-spinner.png
 
Upvote 0
Back
Top