How can I make my own spinner?

Lò Ngọc

New member
How can I make my own spinner?
Answer
Steps to Create a Custom Spinner:
  1. Before onCreate method : Declare an Array of the items that has to be displayed in the Spinner. …
  2. Inside onCreate method : Typecasting spinner. …
  3. After onCreate method: …
  4. Create a XML file named as activity_mail.xml. …
  5. Create a XML file named as custom.xml :
25 нояб. 2020 г.
 

Tìm kiếm

Back
Top