hotwired / turbo-android

Android framework for making Turbo native apps
MIT License
423 stars 51 forks source link

Fix `Fragment` lifecycle crash when creating progress and error views #236

Closed jayohms closed 2 years ago

jayohms commented 2 years ago

This ensures that the progress and error views are not attempted to be inflated when the turboView is not attached to the Fragment.

This attempts to address #199, but it's possible there are other edge case conditions. We'll need to get some data across a large base of installs to get valuable data.