Changes

Jump to: navigation, search

An Android Jetpack Data Binding Tutorial

86 bytes removed, 18:43, 16 January 2019
Working with the Binding Class
Build and run the app once again to make sure that these changes take effect.
== Working Working with the Binding Class ==
The next step is to modify the code within the MainFragment.java file to obtain a reference to the binding class instance. This is best achieved by rewriting the onCreateView() method:
 
        return binding.getRoot();
        return inflater.inflate(R.layout.main_fragment, container, false);
    }
.

Navigation menu