S
S
saliev932015-01-22 02:43:31
Java
saliev93, 2015-01-22 02:43:31

Android Development Tools, how to add a dropdown list to a form on button click?

There is a form, there is a button on it, by clicking on the button, a spinner should be added to the form. How is it better and easier to implement?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
IceJOKER, 2015-01-22
@IceJOKER

Initially, you add and hide the spinner, and when you click, just call setVisibility(View.VISIBLE);
Or Outside the handler, declare a variable for the spinner, and when pressed, check whether it is null or not, if null then create

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question