miteshpithadiya / SearchableSpinner

Spinner with searchable items.
672 stars 245 forks source link

How to change the default string text #119

Closed mrsolarius closed 4 years ago

mrsolarius commented 4 years ago

Hi, Firstly thanks this realy useful library... But I need help ;) . I want to use you module to develop a french app. But I don't know how to translate your UI. Can you explain how I can do this ?

Thanks =)

mrsolarius commented 4 years ago

So I'm stupid x)

For people ask the same question...

The solution is to use the SearchableSpinner class not the Spinner class and use this methods :

searchableSpinnerObject.setTitle("Your title text");
searchableSpinnerObject.setPositiveButton("Your ok text");
rahulkushwaha-techconfer commented 3 years ago

does not work? is searchableSpinnerObject a spinnerId?