Crashlytics #16

This commit is contained in:
Moez Bhatti
2015-12-22 13:05:26 -05:00
parent 2f01da7fc4
commit f66595dd67
@@ -412,6 +412,10 @@ public class MessageListAdapter extends RecyclerCursorAdapter<MessageListViewHol
if (messageItem.mSlideshow == null) {
messageItem.setOnPduLoaded(messageItem1 -> {
if (mCursor == null) {
// The pdu has probably loaded after shutting down the fragment. Don't try to bind anything now
return;
}
if (messageItem1 != null && messageItem1.getMessageId() == messageItem1.getMessageId()) {
messageItem1.setCachedFormattedMessage(null);
bindGrouping(holder, messageItem);