I have a MainActivity from which the user can enter an AddRecordActivity. Upon save, the user is returned to the MainActivity. Here I would like the user to see a snackbar confirming that the record has been saved (if it was saved properly)
Two spontaneous approaches;
1) Create a message service to which activities can post messages to. On the other end, the snackbar will popup until the queue is empty.
2) Use startActivityForResult()
Is there any other good way of doing this? Any ideas on what approach is most reasonable?