Merge branch 'week1'
Merge branch 'week1'
Creation of SavedPoliticianProvider class.
Disabling unwanted methods in the ContentProvider
Added ContentProvider to Manifest.
Missed the Authority in the Manifest. Setting that.
Part 1 of Content Provider set up - constants, Uri matcher
Creating the Cursor to return.
Created test code to verify if Cursor is working.
Cursor is reading data in the MainActivity.
View Saved Politicians now pulls from Provider, not directly from local storage
Removed unused debugging code, added extensive comments about the old functionality that I've disabled.
Created sub-methods for Republican and Democrat searches.
Properly queries for politicians. Handles if no politicians for the given party are found. TODO: make this button work when you go back from the results page.
Utilizing a.recreate() method to refresh MainActivity instead of programatically rebuilding the whole interface.
I am properly determining that the orientation changed when viewing the display. Now I need to make it re-populate.
The code acts like it is executing the DisplayPoliticians method when it detects an orientation change, but the display isn't actually updating. Not sure why. I'm like 95% of the way there on orientation change handling.
Added a simple context declaration upon hitting a saved instance state, and fixed the problem. Orientation change handling is in. KNOWN BUG: I don't have a scrollview attached yet. That's not likely going to be done for Thursday night's check-in, so landscape mode is mostly unusable.
Fixed a minor bug. Noticed that there was a missing colon after "Term Started" in the Results display.
Added some logging for purposes of the reflection video.