SearchableSpinner icon indicating copy to clipboard operation
SearchableSpinner copied to clipboard

Spinner SetText

Open PatilAbhi opened this issue 7 years ago • 8 comments

When we select any value from the spinner the selected value should be displayed in the Edit Text ?

How it work ??

PatilAbhi avatar Mar 10 '17 11:03 PatilAbhi

https://github.com/PonnamKarthik/SearchableSpinner

I made changes to the library. Check it.

ponnamkarthik avatar Jul 12 '17 09:07 ponnamkarthik

setText can't be resolved ? and your link is not working

huxaiphaer avatar Feb 03 '18 10:02 huxaiphaer

@PonnamKarthik is settext working?

gelodgreat avatar Apr 17 '18 04:04 gelodgreat

you can use getSelectedItem and then set the value to the Edittext field

ponnamkarthik avatar Apr 17 '18 05:04 ponnamkarthik

so there's no possibility that we can set it to the searchable spinner right away?

gelodgreat avatar Apr 17 '18 05:04 gelodgreat

@gelodgreat you want to set the title to the spinner dialog?

ponnamkarthik avatar Apr 17 '18 05:04 ponnamkarthik

https://github.com/PonnamKarthik/SearchableSpinner

Check this updated link

this link works but when trying to set title in layout get this error

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':app:processDebugResources'. A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade Android resource linking failed C:\Users\Cleaton\AndroidStudioProjects\IOKSecurity\app\src\main\res\layout\activity_main.xml:29: AAPT: error: attribute setTitle (aka com.ioksecurity.ats:setTitle) not found.

    C:\Users\Cleaton\AndroidStudioProjects\IOKSecurity\app\src\main\res\layout\activity_main.xml:48: AAPT: error: attribute setTitle (aka com.ioksecurity.ats:setTitle) not found.

CleatonPais avatar Nov 25 '19 08:11 CleatonPais