simple-stack
simple-stack copied to clipboard
[ACTIVE] Simple Stack, a backstack library / navigation framework for simpler navigation and state management (for fragments, views, or whatevers).
With the "advent" of `OnBackPressedDispatcher`, we already had to do this: ``` kotlin class MainActivity : AppCompatActivity(), SimpleStateChanger.NavigationHandler { private val backPressedCallback = object: OnBackPressedCallback(true) { override fun handleOnBackPressed() {...
Reported by JCR: - Remove a key inside the stack ``` kotlin val desiredKeyToRemove = backstack.getHistory() .firstOrNull { it::class == keyToReplace } if (desiredKeyToRemove == null) { return } else...
I really like this libary and was wondering how to implement navigation for dialog and bottomsheet fragments. Their are 2 reasons for this: - consistent navigation also for dialog and...
While multi-stack is not the focus of the library by default, if it were possible to integrate against Compose using actual composable functions instead of [externally stored state](https://github.com/Zhuinden/compose-simple-stack-experiment/blob/cf90542396708deedab0c749be24b8163b51217a/app/src/main/java/com/zhuinden/firstcomposeapp/MainActivity.kt#L19-L46) (see the...
Hello, Recently, in crashlytics, this fatal exception have been triggered several times. I was wondering if you could point me into a direction where I could solve this issue. I...
It seems that all examples for "up" back arrow navigation are in the "legacy-architecture-samples". A bit hard to find especially as they are "legacy" and written in java. By up...
Hello, I've read all of the other issues about this topic like https://github.com/Zhuinden/simple-stack/issues/250 where you mentioned some solutions, btw is there a complete demo project with these solutions somewhere to...
Currently, the "maven publishing process" is set up with AGP 7.4.2, and they messed around with it in 8.0.0. This is here just to track that the process of publishing...
Currently, all service lookup done to the parent services (added in https://github.com/Zhuinden/simple-stack/commit/9019ceab30c0cb088d2114bfc2bbb7db0d5f476a ) is done with `ALL`, even if you passed `EXPLICIT`. On one hand, passing EXPLICIT up would make...
Currently, the general usage is to use onViewCreated, however the only reason why it's unavailable in onCreate is that internally, the Backstack is maintained by a platform retained fragment. Although...