mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Fix crash on db refresh during folder list draw.
This commit is contained in:
parent
030464c41e
commit
a8ee414734
1 changed files with 2 additions and 2 deletions
|
@ -74,7 +74,7 @@ public class FolderListAdapter extends BaseExpandableListAdapter {
|
|||
}
|
||||
|
||||
@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;
|
||||
if (groupPosition == 0) {
|
||||
v = inflater.inflate(R.layout.row_all_shared_stories, null, false);
|
||||
|
@ -149,7 +149,7 @@ public class FolderListAdapter extends BaseExpandableListAdapter {
|
|||
}
|
||||
|
||||
@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;
|
||||
if (groupPosition == 0) {
|
||||
socialFeedCursor.moveToPosition(childPosition);
|
||||
|
|
Loading…
Add table
Reference in a new issue