Skip to content

Commit

Permalink
Update NavigationBarChangeListener
Browse files Browse the repository at this point in the history
  • Loading branch information
zchu committed Sep 4, 2017
1 parent 06e15fa commit 0ed8d06
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public void onGlobalLayout() {
Utils.getNavigationBarHeight(rootView.getContext()) : 0;
if (heightDiff >= navigationBarHeight && heightDiff < navigationBarHeight * 2) {
if (!isShowNavigationBar && listener != null) {
listener.onNavigationBarShow(orientation, navigationBarHeight);
listener.onNavigationBarShow(orientation, heightDiff);
}
isShowNavigationBar = true;
} else {
Expand Down

0 comments on commit 0ed8d06

Please sign in to comment.