It may be easier for those who are familiar with android code. I'am newbie here... I just working on to do an action after my snackbar dismissed. I read tutorial here but still not give me clear direction.
adapterTutorSubject.setOnClickListener(new AdapterTutorSubject.OnClickListener() {
@Override
public void onItemClick(View view, TutorSubject obj, int pos) {
Snackbar.make(parent_view, "Item " + obj.subjectName + " clicked", Snackbar.LENGTH_SHORT).show();
//On snackbar dismissed, then go to this page
Intent intent = new Intent(getApplicationContext(), ChapterListActivity.class);
startActivity(intent);
}
});
Thanks!