emmano
04/21/2020, 1:20 PMException
?
java.lang.IllegalArgumentException navigation destination action_loadingFragment_to_fragmentHome is unknown to this NavController
wasyl
04/21/2020, 1:42 PMdewildte
04/21/2020, 3:54 PMisEnabled
is always equal to the Command's isExecutable
boolean.
When the command is invoked it changes isExecutable
to false
while it is running. This in turn is observed by the Button and the button will disable itself while the command is running.
Also the Command can be asked if a navigation is possible by the
NavigationCommand#canExecute(R.id.someNavigationActionId)
function.