edw1nzhao / cs2340_group16

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

Dynamically Attach Clicklisteners to all elements in the ListView in ViewReportsActivity #61

Closed tomonarifeehan closed 7 years ago

tomonarifeehan commented 7 years ago

As we populate the ListView with reports, we should figure out how to attach a clicklistener to each entry and have each entry navigate to the ReportDetailsActivity and display the appropriate data for that specific report.

tomonarifeehan commented 7 years ago

Currently, there is an issue with the Intent in ViewWaterReportsActivity:

This line of code: Intent newActivity1 = new Intent(ViewWaterSourcesActivity.this, ReportDetailsActivity.class);

Navigation from ViewWaterReportsActivity to ReportDetailsActivity is crashing.

bfaught3 commented 7 years ago

Dealing with commented out switch statements apparently toast is to be commented out

tomonarifeehan commented 7 years ago

lol... this is not done.

tomonarifeehan commented 7 years ago

Finally done.