kgriffin
11/05/2016, 5:03 PMActionMode.Callback
“Type mismatch, Expected ActionMode.Callback, Found “” (nothing)
I’ve used the same approach for other interfaces such as OnClickListeners… I don’t understand what I am missing.
activity.startActionMode(object : ActionMode.Callback {
override fun onActionItemClicked(mode: ActionMode?, item: MenuItem?): Boolean {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
}})