Closed Dvik closed 7 years ago
Tap on the list item to go to detail view Come back to list view. Tap on bookmark.
The list item should be bookmarked
The list item gets bookmarked and the detail view is also shown
Problem probably in onLoadFinished() of MainActivity (https://github.com/BenGoBlue05/UdacityAlumni/blob/master/app/src/main/java/com/google/developer/udacityalumni/activity/MainActivity.java)
This should not be there in onLoadFinished():
startActivity(new Intent(this, ArticleDetailActivity.class) .putExtra(getString(R.string.article_list_key), ids) .putExtra(getString(R.string.article_bookmarks_key), isBookmarked) .putExtra(getString(R.string.tag_key), tags));
Fixed in #22
Steps to reproduce
Tap on the list item to go to detail view Come back to list view. Tap on bookmark.
Expected behavior
The list item should be bookmarked
Actual behavior
The list item gets bookmarked and the detail view is also shown
Code Sample
Problem probably in onLoadFinished() of MainActivity (https://github.com/BenGoBlue05/UdacityAlumni/blob/master/app/src/main/java/com/google/developer/udacityalumni/activity/MainActivity.java)
This should not be there in onLoadFinished():