some limitations • It doesn’t support fl exible UI for tablets (e.g.: two pane layout) • It doesn’t allow to move views between Activities (e.g.: video in AB)
some limitations • It doesn’t support fl exible UI for tablets (e.g.: two pane layout) • It doesn’t allow to move views between Activities (e.g.: video in AB) Nav Component solves some problems • We don’t have to reinvent the wheel • Easier onboarding
: NavArgs { @Suppress("CAST_NEVER_SUCCEEDS") public fun toBundle(): Bundle { val result = Bundle() result.putString("articleId", this.articleId) return result } ... }
: NavArgs { @Suppress("CAST_NEVER_SUCCEEDS") public fun toBundle(): Bundle { val result = Bundle() result.putString("articleId", this.articleId) return result } ... }