Spinner Adapter
class SpinnerAdapter(context: Context?, textViewResourceId: Int, objects: Array<String?>?) : ArrayAdapter<String?>
Content copied to clipboard
Adapter for the spinner that handles the selection of the puzzle image.
Parameters
context
Current context. This value cannot be null
.
textViewResourceId
Resource ID for a layout file containing a layout to use when instantiating views.
objects
Objects to represent in the ListView
. This value cannot be null
.
Constructors
SpinnerAdapter
Link copied to clipboard
fun SpinnerAdapter(context: Context?, textViewResourceId: Int, objects: Array<String?>?)
Content copied to clipboard
Current context.
Functions
getDropDownView
Link copied to clipboard
open override fun getDropDownView(position: Int, convertView: View?, parent: ViewGroup): View
Content copied to clipboard
Inherited functions
areAllItemsEnabled
Link copied to clipboard
getAutofillOptions
Link copied to clipboard
getContext
Link copied to clipboard
getDropDownViewTheme
Link copied to clipboard
getItemViewType
Link copied to clipboard
getPosition
Link copied to clipboard
getViewTypeCount
Link copied to clipboard
hasStableIds
Link copied to clipboard
notifyDataSetChanged
Link copied to clipboard
open override fun notifyDataSetChanged()
Content copied to clipboard
notifyDataSetInvalidated
Link copied to clipboard
open fun notifyDataSetInvalidated()
Content copied to clipboard
registerDataSetObserver
Link copied to clipboard
setAutofillOptions
Link copied to clipboard
setDropDownViewResource
Link copied to clipboard
setDropDownViewTheme
Link copied to clipboard
setNotifyOnChange
Link copied to clipboard
sort
Link copied to clipboard
unregisterDataSetObserver
Link copied to clipboard