I get a part the text of spinner on selection using the code bellow
Toast.makeText(MainActivity.this, adapter.getItem(position).substring(0,adapter
.getItem(position).lastIndexOf("-")), Toast.LENGTH_LONG).show();
When I select the spinner, I get text like
001-00434016881
Now I want to replace this text (001-00434016881) on
001-00434016881 - MAruf Parvez Khan
My spinner image like this....
I got some solution from my previous question . But this my new problem.
Thanks in advance ...