|
@ -157,9 +157,6 @@ public class FragmentMessage extends Fragment { |
|
|
case R.id.action_thread: |
|
|
case R.id.action_thread: |
|
|
onActionThread(id); |
|
|
onActionThread(id); |
|
|
return true; |
|
|
return true; |
|
|
case R.id.action_move: |
|
|
|
|
|
onActionMove(id); |
|
|
|
|
|
return true; |
|
|
|
|
|
case R.id.action_forward: |
|
|
case R.id.action_forward: |
|
|
onActionForward(id); |
|
|
onActionForward(id); |
|
|
return true; |
|
|
return true; |
|
@ -181,6 +178,9 @@ public class FragmentMessage extends Fragment { |
|
|
case R.id.action_spam: |
|
|
case R.id.action_spam: |
|
|
onActionSpam(id); |
|
|
onActionSpam(id); |
|
|
return true; |
|
|
return true; |
|
|
|
|
|
case R.id.action_move: |
|
|
|
|
|
onActionMove(id); |
|
|
|
|
|
return true; |
|
|
case R.id.action_archive: |
|
|
case R.id.action_archive: |
|
|
onActionArchive(id); |
|
|
onActionArchive(id); |
|
|
return true; |
|
|
return true; |
|
@ -324,10 +324,6 @@ public class FragmentMessage extends Fragment { |
|
|
fragmentTransaction.commit(); |
|
|
fragmentTransaction.commit(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private void onActionMove(final long id) { |
|
|
|
|
|
Toast.makeText(getContext(), "Not implemented yet", Toast.LENGTH_LONG).show(); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private void onActionForward(long id) { |
|
|
private void onActionForward(long id) { |
|
|
startActivity(new Intent(getContext(), ActivityCompose.class) |
|
|
startActivity(new Intent(getContext(), ActivityCompose.class) |
|
|
.putExtra("id", id) |
|
|
.putExtra("id", id) |
|
@ -415,6 +411,10 @@ public class FragmentMessage extends Fragment { |
|
|
.setNegativeButton(android.R.string.cancel, null).show(); |
|
|
.setNegativeButton(android.R.string.cancel, null).show(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private void onActionMove(final long id) { |
|
|
|
|
|
Toast.makeText(getContext(), "Not implemented yet", Toast.LENGTH_LONG).show(); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
private void onActionArchive(final long id) { |
|
|
private void onActionArchive(final long id) { |
|
|
executor.submit(new Runnable() { |
|
|
executor.submit(new Runnable() { |
|
|
@Override |
|
|
@Override |
|
|