forked from upstream-mirrors/quik
Fix conversation load point
This commit is contained in:
@@ -193,14 +193,6 @@ public class MessageListFragment extends QKContentFragment implements ActivityLa
|
|||||||
mBackgroundQueryHandler = new BackgroundQueryHandler(mContext.getContentResolver());
|
mBackgroundQueryHandler = new BackgroundQueryHandler(mContext.getContentResolver());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public void onAttach(Activity activity) {
|
|
||||||
super.onAttach(activity);
|
|
||||||
|
|
||||||
// Make sure to notify that this conversation has been opened. This will mark it as read, load new drafts, etc.
|
|
||||||
onOpenConversation();
|
|
||||||
}
|
|
||||||
|
|
||||||
// This is called by BaseContentFragment when updateArguments is called.
|
// This is called by BaseContentFragment when updateArguments is called.
|
||||||
@Override
|
@Override
|
||||||
public void onNewArguments() {
|
public void onNewArguments() {
|
||||||
@@ -273,6 +265,7 @@ public class MessageListFragment extends QKContentFragment implements ActivityLa
|
|||||||
// perform initialization such as set up the Conversation object, make a query in the
|
// perform initialization such as set up the Conversation object, make a query in the
|
||||||
// adapter, etc.
|
// adapter, etc.
|
||||||
loadFromArguments();
|
loadFromArguments();
|
||||||
|
onOpenConversation();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user