Zhuinden / simple-stack

[ACTIVE] Simple Stack, a backstack library / navigation framework for simpler navigation and state management (for fragments, views, or whatevers).
Apache License 2.0
1.36k stars 76 forks source link

@NonNull is missing on Navigator.getBackstack(@NonNull Context #195

Closed Zhuinden closed 4 years ago

Zhuinden commented 5 years ago

Oh boy, I added many @NonNulls but never noticed that this one is missing.

I was expecting Kotlin to yell for using activity instead of requireActivity() but it didn't.

Bah. Now that is technically a breaking change for Kotlin users (if they used activity instead of requireActivity()), too. -_-

Zhuinden commented 4 years ago

Fixing in 2.1.1