Zhuinden / flowless

[DEPRECATED] Based on Flow 1.0-alpha. To keep your life simple, use zhuinden/simple-stack instead.
Apache License 2.0
141 stars 7 forks source link

Forced execution of pending traversal could result in `onViewDestroyed(true)` never being called #9

Closed Zhuinden closed 8 years ago

Zhuinden commented 8 years ago

onDestroy() calls with onViewDestroyed(false), and in onMeasure() callback the removal would call onViewDestroyed(true).

However this callback boolean is required to know if the view is being swapped out for good, or there's a configuration change happening.

Zhuinden commented 8 years ago

Fixed in 1.7 (but now an explicit DispatcherUtils call must do it before onMeasure() wait)