How to programmatically change keyboard input type in android (xamarin) -


i need change keyboard input type programmatically. problem is, have 1 edittext view component. activity has many states (sttitle, stquantity, ...) , keyboard input type have change when state has changed.

i tried this:

batchstates state {     {....}     set     {        ...        etinput.setrawinputtype(android.text.inputtypes.classnumber);        ...     } } 

but change happen after click enter. change visible in next state.

is possible refresh keyboard or somethink else?


Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -