Exemple #1
0
  private boolean unfollowReli() {
    Toast.makeText(getApplicationContext(), R.string.message_unfollow, Toast.LENGTH_SHORT).show();
    MainActivity.removeDiscussionFromMyRelis(discussionTableName);
    updateMenuTitles();

    return true;
  }
Exemple #2
0
 @Override
 public void onClick(View v) {
   super.onClick(v);
   if (v.getId() == R.id.btnSend) {
     sendMessage();
     // Update discussions I'm in
     MainActivity.updateDiscussionsImIn(discussionTableName);
     // Send notifications
     handleNotifications();
   }
 }