java - Observables or ViewTreeObserver -


is there better way of subscribing see if flag has been tripped or layout changed other using code below?

  layout.getviewtreeobserver().addongloballayoutlistener(new viewtreeobserver.ongloballayoutlistener() {         @override         public void ongloballayout() {             ....         }     }); 


Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - Chrome Extension: Interacting with iframe embedded within popup -