private boolean followReli() { Toast.makeText(getApplicationContext(), R.string.message_follow, Toast.LENGTH_SHORT).show(); MainActivity.updateDiscussionsImIn(discussionTableName); updateMenuTitles(); return true; }
@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(); } }