Slide 19
Slide 19 text
View-Binding Rule
● Use at least one Fragment for each Activity
● Activity doesn’t hold View subclasses, Fragment does instead
● Don’t use by lazy in Fragment, but use Butterknife
○ unable to clear cached views in a Fragment’s onDestroyView()
○ Pros/cons of Android view access strategies
○ FragmentでKotlinのby lazyを使ってfindViewByIdするとレイアウト反映できない &リークする件