Fixed closed/open indicator for all shared stories row.

This commit is contained in:
RyanBateman 2012-09-25 14:40:37 -04:00
parent 55d87de662
commit d0a424e1d1
2 changed files with 2 additions and 1 deletions

View file

@ -66,8 +66,8 @@ public class SocialFeedReading extends Reading {
@Override
protected void onDestroy() {
super.onDestroy();
new MarkSocialStoryAsReadTask(this, syncFragment, markSocialAsReadList).execute();
super.onDestroy();
}
public class MarkSocialAsReadUpdate {

View file

@ -291,6 +291,7 @@ public class MixedExpandableListAdapter extends BaseExpandableListAdapter{
});
((TextView) v.findViewById(R.id.row_foldersumneu)).setText(sharedStoriesCountCursor.getString(sharedStoriesCountCursor.getColumnIndex(DatabaseConstants.SUM_NEUT)));
((TextView) v.findViewById(R.id.row_foldersumpos)).setText(sharedStoriesCountCursor.getString(sharedStoriesCountCursor.getColumnIndex(DatabaseConstants.SUM_POS)));
((ImageView) v.findViewById(R.id.row_folder_indicator)).setImageResource(isExpanded ? R.drawable.indicator_expanded : R.drawable.indicator_collapsed);
} else if (groupPosition == 1) {
cursor = allStoriesCountCursor;
v = inflater.inflate(R.layout.row_all_stories, null, false);