2018-01-26, 00:15
My addon utilizes a custom window, which just brings up a 'more info' type page that users interact with.
If the user is browsing within my addon. They're presented some listitems, then when they select one, this window opens up. When the custom window is closed, they are brought back to addons list of items. This is exactly what I want.
If the user makes a favorite, or a widget on the home screen to this custom window (which is just a link to the plugin:// route), when the window is closed, they're brought back to the default sources list for videos / video addons.
I'd like to somehow be able to determine what the 'previous window' is so I can route them back to the home screen if thats where they were when they selected the item. Any suggestions?
If the user is browsing within my addon. They're presented some listitems, then when they select one, this window opens up. When the custom window is closed, they are brought back to addons list of items. This is exactly what I want.
If the user makes a favorite, or a widget on the home screen to this custom window (which is just a link to the plugin:// route), when the window is closed, they're brought back to the default sources list for videos / video addons.
I'd like to somehow be able to determine what the 'previous window' is so I can route them back to the home screen if thats where they were when they selected the item. Any suggestions?