android - runOnUiThread in Presentation class -
how can update textview in presentation class if runonuithread not available in class.
here example
private final class demopresentation extends presentation { public demopresentation(context context, display display) { super(context, display); } @override protected void oncreate(bundle savedinstancestate) { // sure call super class. super.oncreate(savedinstancestate); // inflate layout. setcontentview(r.layout.presentation_activity); } private void timermethod() { getac.runonuithread(timer_tick); }
call post()
on textview
, passing in same runnable
runonuithread()
.
Comments
Post a Comment