Reputation: 420
I need to do a dialog like DatePicker
or TimePicker
, but the dialogue should display my data. Is this possible, or do I need to do a custom view for this?
Upvotes: 0
Views: 421
Reputation: 4036
Sorry, but I can't comment because I don't have enough rep.
There isn't a ready out of the box dialog that allows custom data to be set. I supposed the best approach would be to create a custom layout with a NumberPicker and then set it as your dialog's view.
This answer should point you to right direction.
Upvotes: 2