<EditText
android:id="@+id/note_title_edit"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/enter_title"
android:inputType="text"
android:text='@={note.title}' />
class Navigator {
companion object {
private inline fun add(command: () -> Unit) {}
private fun replace(fragment: Fragment) {}
fun showMain() = add { replace(MainFragment.newInstance()) }
}
}
Could not execute method for android:onClick?