Dependent spinners in Android

here you can learn how populate second spinner based on selection of first spinner in android from android studio.
by this video you can show programming of nested spinner android.
in this session for looping structure using if condition for spinner in android also you can implement switch case.