i need refresh texview when click radio button. textview contains free memory info , want when click radio button use clear ram cache textview refreshes , can see in moment free ram without exit application , enter again.i found example
textview tv = (textview) view.findviewbyid(r.id.lastrefreshed); tv.settext("blah: " + time); view.invalidate();  // refreshment   is possible? thanks
you can register click event radio-button.
 radiobutton rb = (radiobutton)findviewbyid(r.id.radiobutton1);  rb.setonclicklistener(new onclicklistener() {      @override     public void onclick(view v) {         // refresh textview here     } });      
Comments
Post a Comment