focusnet / focus-app-android

FOCUS Mobile
http://www.focusnet.eu
MIT License
0 stars 0 forks source link

Missing widgets may trigger too many redirects to home screen #36

Open jlnknz opened 8 years ago

jlnknz commented 8 years ago

Widget fragments are created from. If these widgets do not exist anymore (invalid path), then this will trigger a redirection to the home screen in WidgetFragment#setupWidget(). All widgets are likely to not exist anymore, so we do this redirection for all the widgets. This is not optimal.

Question: are these redirection triggered at all? When a page is rendered, its PageInstance should first be created and its inexistence should trigger a redirect of its own