working on issue 432 , fixing some back stack problems
License and Copyright Notice
By submitting this issue or commenting on this issue, or contributing any content to this issue, you certify under the Developer Certificate of Origin that the content you post may be licensed under GPLv3 (for code) or CC-BY-SA 4.0 International (for non-code content).
Branch Name
issue_432_fixing_backstack
Related Issues
Caused by this issue #420 (closed)
Description
I am fixing some back stack problems that were caused cause because of issue 420 #420 (closed)
Steps to Test
--First Case-- 1.Click guest Forms 2.Click guest visit checkin 3.Click home button 4.press the back button and it should exit the app
--Second Case-- 1.Click guest Forms 2.Click guest visit checkin 3.Click manual entry 4.Click home button 5.press the back button and it should exit the app
Relevant Screenshots
This is where you should be pressing the home button for the first case
This is where you should be pressing the home button for the second case
Relevant Logs
(Paste any relevant logs here.)
Developer Notes
--GuestFormTesting.java-- 1.app 2.java 3.Scroll down until you see GuestFormsTesting
--GuestVisitActivity-- 1.app 2.java 3.GuestVist 4.Activities 5.GuestVisitActivity
1.I have commented out the home method in GuestFormTesting.java(ways to get there above) and where the home button is clicked(look in onOptionsSelected), finish() is called which ends the current activity which is way less code and does the same thing 2.In the GuestVisitActivity.java in the onOptionsItemSelected() method I have added some code that brings you back to the homepage and ends all previous activities when the home button is clicked