摘要: 由于性能要求,android要求只能在UI线程中更新UI,要想在其他线程中更新UI,给大家介绍一种方式:使用AsyncTask异步任务。下面用这种方式更新一个TextView:注:更新UI的操作只能在onPostExecute(String result)方法中。package com.exampl... 阅读全文
posted @ 2015-09-16 09:38 说走咱就走 阅读(318) 评论(0) 推荐(0)