picker Questions

8

Solved

Can any one post sample code for a simple date picker in Android. If date picker is not possible in Android, an option to choose a date is needed.
Adapter asked 21/7, 2010 at 12:52

4

I wanted to use the Picker component in my React Native application, but it takes up too much height of the screen. Is there a way to make the picker limit itself to show only, say, two items at a ...
Petroglyph asked 23/8, 2016 at 18:25

5

I have just started coding in Android Studio and feeling Awesome..!! How can I write a code for a 'Directory Picker'. i.e., When a button is clicked, a simple Dialog/Activity screen which can sho...
Ojibwa asked 12/1, 2015 at 9:22

3

I'm trying to add a callback to a SwiftUI picker but can't get it to execute. The didSet apparently does not execute when picker value changes. Here's what I've tried so far: struct ContentView : ...
Noiseless asked 17/7, 2019 at 22:5

1

I created a segment picker for select gender in that segment picker I have to option one for Male and another for Female. Picker is working fine But set title on with picker it’s not showing. I set...
Vincentvincenta asked 18/2, 2020 at 5:5

1

Solved

I just started working on SwiftUI and I have some difficulty to manage several Pickers with dynamic data. In that case there's two Pickers, for Country and City. When I try to switch the Pick...
Cauthen asked 5/2, 2020 at 18:56

1

Solved

How do you resize the picker view in SwiftUI? I need to change the width that it takes up. My code below is just a simple view with a picker inside it. Changing the width parameter does not change ...
Heyerdahl asked 5/2, 2020 at 15:7

1

Solved

I am developing a new flutter app for IOS. and I am using the Cupertino picker as well and I want to scroll the picker automatically without any touching from the users. How can I achieve this?
Foreshow asked 13/1, 2020 at 11:52

1

I am trying to have a Picker that shows which option is currently selected. Try out the following code which correctly selects the right option but the picker does not show which option is select...
Raven asked 16/10, 2019 at 5:17

2

Solved

I'm experiencing a strange behavior with wheel pickers embedded in a conditional subview. When the subview is shown, sometimes the values are not shown. Switching around between two conditional vie...
Variometer asked 7/12, 2019 at 8:50

2

Solved

I have a Picker Element in a VStack, but when its content changes by adding a new Element, the Picker does not refresh. After hiding and showing the Picker, the new Element is visible. Does anyb...
Anthodium asked 1/11, 2019 at 14:30

2

Solved

I'm showing a SwiftUI DatePicker with the datePickerStyle of type WheelDatePickerStyle(). It's inside a Section, which is within a Form. As I'm showing a Section Header, I don't want to show the Pi...
Shakitashako asked 3/11, 2019 at 14:55

1

Solved

I am tearing out my hair trying to figure out how to bind the picked value in my SwiftUI view: The picker needs to be bound to the Int returned from the tags. I need to covert this Int to the Stri...
Geniculate asked 28/8, 2019 at 15:48

2

Solved

I have a xamarin picker with a list of items and I want to remove the picker when the "done" button is pressed on iPhone and "Oke" button on android. I have the code to remove the picker. But i don...
Filiate asked 12/2, 2017 at 21:24

1

Solved

I am trying to create a SwiftUI picker that users can use to select a number from 1000 to 20000 (in increments of 1000. for example 1000,2000,3000 .... ... 20000) By default the SwiftUI picker can...
Hoberthobey asked 23/7, 2019 at 22:57

2

File "C:\Python27\Lib\site-packages\file_picker\forms.py,line 5 in <module> from django.db.models import Q,get_model ImportError:cannot import name get_model I am using django 1.9.7 and fil...
Araceli asked 18/7, 2016 at 18:26

1

Solved

My basic forms work fine, however, as there are some caveats with react-native, I could use some help in knowing if the issue is how I am using formik, or using it with react-native. In this part...
Ruder asked 24/12, 2017 at 15:0

2

Xamarin.Forms on Android. Clicking picker opens dialog and the negative button has default text of "Cancel". How can I change it? I looked in open source project of Xamarin and they set the positi...
Heighten asked 14/9, 2017 at 19:38

4

I am using an Xamarin.Forms.Picker control and handling the SelectedIndexChanged event. The user scrolls thru the items in the picker control then the user selects the "Done" button that is prebu...
Platinize asked 28/12, 2017 at 1:48

5

Solved

I want to add new button,which is clear button, to date picker widget and time picker widget in my android application. In default, these widgets have two button,set and cancel. How can I add one m...
Guitarfish asked 3/1, 2012 at 16:47

2

Solved

I have been looking for a javascript (hopefully jQuery) timezone chooser/picker/control widget that I can include in my social-calendar/event-router web app. Given that there are approximately 40...

2

For my react-native app, I need Image+Text in label of Picker.Item like in picture below. Everything okay in IOS but on Android I get an error. Here is my Picker Component code. <Picker sty...
Hypogeum asked 27/1, 2018 at 16:53

0

I used Picker to custom my screen: You can see in my screen it have two line in bottom and top item slected. How I can remove them? Here is my code renderIOS() { let marginTop = isIOS ? 7...
Malnourished asked 17/5, 2018 at 2:34

1

Solved

Is there any way to style individual Picker.Items? Other than the text color? Also, somewhat related, What props will a Picker.Item take? I know they'll take "key", "value", "label" and "color". B...
Halflight asked 20/4, 2018 at 21:17

1

I have a Picker component with two language choices: French and Korean. I would like to add an icon/picture of a flag next to each Text Component. Something that would like something like this: I...
Environment asked 9/1, 2018 at 9:22

© 2022 - 2024 — McMap. All rights reserved.