Skip to content

Instantly share code, notes, and snippets.

View natuanorg's full-sized avatar
🏠
Working from home

Tuan Nguyen natuanorg

🏠
Working from home
View GitHub Profile
public class FragmentObserver extends Observable {
@Override
public void notifyObservers() {
setChanged(); // Set the changed flag to true, otherwise observers won't be notified.
super.notifyObservers();
}
}