android - Flow sample SimpleSwitcher subcontainers -
android - Flow sample SimpleSwitcher subcontainers -
in recent update of flow sample app, introduced simpleswitcher uses pathcontext way of allowing customised sub-containers.
could elaborate on term and/or give illustration on meant sub-containers?
also how impact mortar implementations? since creating mortar scopes require parent context, pathcontext create chain of screen scopes: i.e. homescreen -> listscreen -> detailsscreen , each depending on ancestor. when destroy homescreen scope, lose rest of screen scopes , become sad. don't see point of holding on previous screen scopes after leave them , rather have activityscope parent of each 1 (similar previous mortar example). case require different screenswitcher impl or missing something?
edit: screenswitcher, not screenscoper
android mortar square-flow
Comments
Post a Comment