0
\$\begingroup\$

I'm new to android. How do you fill a spinner from the server's data dynamically.

This is my Spinner layout:

<com.jaredrummler.materialspinner.MaterialSpinner
    android:id="@+id/spinner"
    android:layout_width="150dp"
    android:layout_height="20dp"
    android:layout_alignLeft="@+id/category"
    android:layout_alignBottom="@+id/category"
    android:layout_marginLeft="45dp"
    android:layout_marginBottom="-1dp" />

Thanks in advance!

\$\endgroup\$

Browse other questions tagged or ask your own question.