edw1nzhao / cs2340_group16

CS2340 Group 16 Crowd-Sourced Water Reporting App
2 stars 1 forks source link

Add functionality to button in HomeActivity to navigate to NewWaterSourceReportActivity and ViewReportsActivity #53

Closed tomonarifeehan closed 7 years ago

tomonarifeehan commented 7 years ago

Just add functionality to the two buttons. -Submit button should navigate to SubmitReportActivity. -View Reports button should navigate to ViewReportsActivity

-Make sure each Activity class implements the ClickListener or something interface. -For each button, store in a class variable by doing getViewById -Attach a click listener to each button variable. -You need to override onClick() something method and just copy code from other Activities and have if-statements for each button.