on 10-10-2019 2:24 PM
Hello everyone,
I found problem with navigation in FLP. I create new Draft and Navigate to it so my Hash is like /detail/asdasf5549asd/. I cancel the draft without saving and return back to Main Screen(List). Draft is destroyed, then i press FLP Standard shell button NavBack and It is navigated to the hash of previous Detail /detail/asdasf5549asd/ (Problem is that this detail no longer exist on backend so the error message is returned). Is there any possibility to fix this?
Hi Jan,
You could write a condition for the NavBack fragment in your controller.
If there is no element found for path: history-1, then navigate to path: history-2
Regards,
Rohit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.