Skip to content

Commit

Permalink
crash fix. #910
Browse files Browse the repository at this point in the history
  • Loading branch information
cgspine committed May 7, 2020
1 parent a08fb12 commit 2c12358
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/src/main/java/com/qmuiteam/qmui/arch/QMUIFragment.java
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,9 @@ public int getDragDirection(SwipeBackLayout swipeBackLayout, SwipeBackLayout.Vie
}
});
mListenerRemover = swipeBackLayout.addSwipeListener(mSwipeListener);
if(isCreateForSwipeBack){
swipeBackLayout.setTag(R.id.fragment_container_view_tag, this);
}
return swipeBackLayout;
}

Expand Down

0 comments on commit 2c12358

Please sign in to comment.