34,333
edits
Changes
→Initializing Firebase
.
.
</pre>
Remaining in the FacebookAuthActivity class file, add the following code to the bottom of the onCreate() method to obtain a reference to the FirebaseAuth instance and install the authentication state listener:
<pre>
@Override
protected void onCreate(Bundle savedInstanceState) {