mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-31 21:41:33 +00:00
Fix crash on db refresh during folder list draw.
This commit is contained in:
parent
8cff1c662f
commit
15e06fa265
1 changed files with 2 additions and 2 deletions
|
@ -74,7 +74,7 @@ public class FolderListAdapter extends BaseExpandableListAdapter {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public View getGroupView(int groupPosition, boolean isExpanded, View convertView, ViewGroup parent) {
|
public synchronized View getGroupView(int groupPosition, boolean isExpanded, View convertView, ViewGroup parent) {
|
||||||
View v = convertView;
|
View v = convertView;
|
||||||
if (groupPosition == 0) {
|
if (groupPosition == 0) {
|
||||||
v = inflater.inflate(R.layout.row_all_shared_stories, null, false);
|
v = inflater.inflate(R.layout.row_all_shared_stories, null, false);
|
||||||
|
@ -149,7 +149,7 @@ public class FolderListAdapter extends BaseExpandableListAdapter {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public View getChildView(int groupPosition, int childPosition, boolean isLastChild, View convertView, ViewGroup parent) {
|
public synchronized View getChildView(int groupPosition, int childPosition, boolean isLastChild, View convertView, ViewGroup parent) {
|
||||||
View v;
|
View v;
|
||||||
if (groupPosition == 0) {
|
if (groupPosition == 0) {
|
||||||
socialFeedCursor.moveToPosition(childPosition);
|
socialFeedCursor.moveToPosition(childPosition);
|
||||||
|
|
Loading…
Add table
Reference in a new issue