Closed qwert2603 closed 6 years ago
I make call: router.newRootChain(new ScreenOne(), new ScreenTwo()); and get a exception
router.newRootChain(new ScreenOne(), new ScreenTwo());
java.lang.ArrayIndexOutOfBoundsException: length=2; index=2 at ru.terrakok.cicerone.Router.newRootChain(Router.java:91) at ...
I suppose, iteration bound must be equal to length of array screens (not commands).
screens
commands
Yes! Thank you!
I make call:
router.newRootChain(new ScreenOne(), new ScreenTwo());
and get a exceptionI suppose, iteration bound must be equal to length of array
screens
(notcommands
).