CMU-CREATE-Lab / preK-emotions-app

Other
1 stars 2 forks source link

Implement students button in header #38

Closed tasota closed 5 years ago

tasota commented 5 years ago

For now this should just allow a user to end a student's session and just return to the choose student screen. Look into Intent.FLAG_ACTIVITY_CLEAR_TOP for clearing the application stack. Example given:

Intent intent = new Intent(this, nextClass);
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
startActivity(intent);

Later, this button on the choose student screen will also navigate to the teacher section, but that will be later.