コード例 #1
0
 @Override
 protected void onPostExecute(Payload p) {
   synchronized (this) {
     if (mUpgradeListener != null) {
       mUpgradeListener.upgradeComplete(p);
     }
   }
 }
コード例 #2
0
 @Override
 protected void onProgressUpdate(String... obj) {
   synchronized (this) {
     if (mUpgradeListener != null) {
       // update progress and total
       mUpgradeListener.upgradeProgressUpdate(obj[0]);
     }
   }
 }