Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49186

Is there has any pickerview component can working on android and ios?

$
0
0

@PeacePan wrote:

hi, ionic devs:

I'm needing a component like a ios UIPickerView.

There has some cordova plugin on github.

https://github.com/mgcrea/cordova-pickerview

https://github.com/roberthovhannisyan/PhoneGap-Plugin-ListPicker

but, problem is android, i want to android has same feature for this.

like this github repository of Chinaman, but this is java project

https://github.com/saiwu-bigkoo/Android-PickerView

Finally, I using the ion-scroll to create a my custom ionic-picker-view.

codePen demo

It can add any string or number array, then pick it.

But it incomplete, I can't solve each scroll position.

After picking, the position of each items has difference

How do I accurately calculated for each scroll, each item of scroll spacing?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49186

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>