コード例 #1
0
 @Override
 public void onPostExecute(String xml) {
   super.onPostExecute(xml);
   if (this.exception != null) {
     return;
   }
   try {
     ((ChatActivity) this.activity).resetAvatar(this.config);
   } catch (Exception error) {
     this.exception = error;
     MainActivity.error(this.exception.getMessage(), this.exception, this.activity);
     return;
   }
 }
コード例 #2
0
  @Override
  public void onPostExecute(String xml) {
    super.onPostExecute(xml);
    if (this.exception != null) {
      return;
    }
    try {
      MainActivity.botMode = botMode;

      ((ChannelBotActivity) this.activity).resetView();
    } catch (Exception error) {
      this.exception = error;
      MainActivity.error(this.exception.getMessage(), this.exception, this.activity);
      return;
    }
  }