Fixed #11
This commit is contained in:
parent
333b44cba3
commit
2f9af2e1f1
@ -72,10 +72,14 @@ public class MainActivity extends AppCompatActivity {
|
||||
return;
|
||||
}
|
||||
|
||||
if (bundle != null)
|
||||
navController.navigate(actionId, bundle);
|
||||
else
|
||||
navController.navigate(actionId);
|
||||
try {
|
||||
if (bundle != null)
|
||||
navController.navigate(actionId, bundle);
|
||||
else
|
||||
navController.navigate(actionId);
|
||||
} catch (IllegalArgumentException e) {
|
||||
Log.e(TAG, "Unable to navigate to fragment: " + e.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
public boolean getRotationEnabledSetting() {
|
||||
|
Loading…
Reference in New Issue
Block a user