Skip to content

Commit

Permalink
Suppress a couple more
Browse files Browse the repository at this point in the history
  • Loading branch information
ZacSweers committed Sep 30, 2017
1 parent 8e25ff3 commit be7d5ee
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ public enum ViewEvent {
}

@Override public Observable<ViewEvent> lifecycle() {
//noinspection ConstantConditions only in layoutlib
return lifecycleEvents.hide();
}

Expand All @@ -107,6 +108,7 @@ public enum ViewEvent {
}

@Nullable @Override public ViewEvent peekLifecycle() {
//noinspection ConstantConditions only in layoutlib
return lifecycleEvents.getValue();
}
}

0 comments on commit be7d5ee

Please sign in to comment.