Open gyb3320 opened 4 years ago
GalleryView类中重新的方法,并没有接收widget的值: ` @Override public void setupViews(Widget widget, boolean checkable) { SystemBar.invasionStatusBar(mActivity); SystemBar.invasionNavigationBar(mActivity); SystemBar.setStatusBarColor(mActivity, Color.TRANSPARENT); SystemBar.setNavigationBarColor(mActivity, getColor(R.color.albumSheetBottom));
setHomeAsUpIndicator(R.drawable.album_ic_back_white); if (!checkable) { mCompleteMenu.setVisible(false); mCheckBox.setVisibility(View.GONE); } else { ColorStateList itemSelector = widget.getMediaItemCheckSelector(); mCheckBox.setSupportButtonTintList(itemSelector); mCheckBox.setTextColor(itemSelector); } mViewPager.addOnPageChangeListener(new ViewPager.SimpleOnPageChangeListener() { @Override public void onPageSelected(int position) { getPresenter().onCurrentChanged(position); } }); }
`
GalleryView类中重新的方法,并没有接收widget的值: ` @Override public void setupViews(Widget widget, boolean checkable) { SystemBar.invasionStatusBar(mActivity); SystemBar.invasionNavigationBar(mActivity); SystemBar.setStatusBarColor(mActivity, Color.TRANSPARENT); SystemBar.setNavigationBarColor(mActivity, getColor(R.color.albumSheetBottom));
`