Guest User

Untitled

a guest
Mar 30th, 2015
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.50 KB | None | 0 0
  1. private BroadcastReceiver mMessageReceiver = new BroadcastReceiver() {
  2.         @Override
  3.         public void onReceive(Context context, Intent intent) {
  4.             String action = intent.getAction();
  5.             if (action.equals(EDIT_FINISH)) {
  6.                 onProcessFinished();
  7.             } else if (action.equals(EDIT_CANCEL)) {
  8.                 onProcessCancelled();
  9.                 Toast.makeText(LoginActivity.this, "on cancel click", Toast.LENGTH_SHORT).show();
  10.             }
  11.         }
  12.     };
Advertisement
Add Comment
Please, Sign In to add comment