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
Post a Comment