Android provides a very good Data Binding library to bind the layout views to a ViewModel. When I initially started out Android development there wasn't the Data Binding library and most of the view changes were made from Fragment. This quickly bloated the Fragment file and it become hard to