Search in sources :

Example 1 with IndicatorView

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;
}
Also used : SweetView(com.mingle.widget.SweetView) IndicatorView(com.mingle.widget.IndicatorView) View(android.view.View)

Aggregations

View (android.view.View)1 IndicatorView (com.mingle.widget.IndicatorView)1 SweetView (com.mingle.widget.SweetView)1