June 2018
Beginner to intermediate
394 pages
9h 2m
English
On successful fetching, we then need to activate the parameters before other methods access the values. To do this, we will add the call inside the onComplete() method, shown as follows:
public void onComplete(@NonNull Task<Void> task) { if (task.isSuccessful()) { fbRemoteConfig.activateFetched(); } else {// Fetch failed } }
Read now
Unlock full access