There is no default constructor available in 'android.widget.ArrayAdapter'

ArrayAdapter inheritance when the subclass error occurs. Create a constructor is still wrong.

Cause: ArrayAdapter No No argument constructor, so when the subclass inherits, constructor must explicitly call parent class constructor, and the corresponding transmission parameters required.

Published 139 original articles · won praise 35 · views 180 000 +

Guess you like

Origin blog.csdn.net/kanglovejava/article/details/101050586