use of com.mingle.widget.IndicatorView in project AndroidSweetSheet by zzz40500.
the class ViewPagerDelegate method createView.
@Override
protected View createView() {
View rootView = LayoutInflater.from(mParentVG.getContext()).inflate(R.layout.layout_vp_sweet, null, false);
mSweetView = (SweetView) rootView.findViewById(R.id.sv);
mFreeGrowUpParentRelativeLayout = (FreeGrowUpParentRelativeLayout) rootView.findViewById(R.id.freeGrowUpParentF);
mIndicatorView = (IndicatorView) rootView.findViewById(R.id.indicatorView);
mIndicatorView.alphaDismiss(false);
mSweetView.setAnimationListener(new AnimationImp());
mViewPager = (ViewPager) rootView.findViewById(R.id.vp);
if (mContentViewHeight > 0) {
mFreeGrowUpParentRelativeLayout.setContentHeight(mContentViewHeight);
}
return rootView;
}
Aggregations