Skip to content

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
  • Loading branch information
haife committed Feb 1, 2023
1 parent 9116e6d commit 5ea4147
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,7 @@ public abstract class BaseSupportActivity<P extends IPresenter> extends BaseActi

final SupportActivityDelegate mDelegate = new SupportActivityDelegate(this);
public BaseSupportActivity mContext;
/**
* 如果需要内容紧贴着StatusBar
* 应该在对应的xml布局文件中,设置根布局fitsSystemWindows=true。
*/

private View contentViewGroup;

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ public void onCreate(@Nullable Bundle savedInstanceState) {
public void onViewCreated(View view, @Nullable Bundle savedInstanceState) {
super.onViewCreated(view, savedInstanceState);
mDelegate.onViewCreated(view, savedInstanceState);
setParallaxOffset(0.0f);
}

@Override
Expand Down

0 comments on commit 5ea4147

Please sign in to comment.