Could not find class 'android.widget.ThemedSpinnerAdapter' [Android Studio]

前端 未结 4 444
攒了一身酷
攒了一身酷 2021-02-04 09:59

I am getting this weird error when I try to run my app on a pre API 21 device:

I/Choreographer: Skipped 39 frames!  The application may be doing too much work o         


        
4条回答
  •  再見小時候
    2021-02-04 10:33

    Include the following in your layout.xml....

         # xmlns:app="http://schemas.android.com/apk/res-auto"
    

    Make sure you set your arraylist to the spinner at the end of setting listnerEvents to your spinner,

    Happy coding.....

提交回复
热议问题