AppIntro_类图
2016-04-11 11:26:20 71 举报
http://guang2.github.io/android/2016/04/11/AppIntro_%E6%BA%90%E7%A0%81%E8%A7%A3%E6%9E%90.html
作者其他创作
大纲/内容
IndicatorController接口
newInstance(@NonNull context : Context) : Viewinitialize(slideCount : int)selectPosition(index : int)setSelectedIndicatorColor(color : int)setUnselectedIndicatorColor(color : int)
TransformType enum类
AppIntro类
#isVibrateOn: boolean = false;#vibrateIntensity: int = 20;#skipButtonEnabled: boolean = true;#baseProgressButtonEnabled: boolean = true;#progressButtonEnabled: boolean = true;#selectedIndicatorColor: int = DEFAULT_COLOR;#unselectedIndicatorColor: int = DEFAULT_COLOR;
+init(@Nullable Bundle savedInstanceState)+onSkipPressed()+onNextPressed()+onDonePressed()+onSlideChanged()+addSlide(@NonNull Fragment fragment)
AppIntroViwePager类
-pagingEnabled : boolean-nextPagingEnabled : boolean-initialXValue : float-lockPage : int#listener : OnPageChangeListener
+addOnPageChangeListener(listener : OnPageChangeListener)+setNextPagingEnabled(nextPagingEnabled : boolean)-checkPagingState(event : MotionEvent) : boolean+setCurrentItem(item : int)
ViewPageTransformer类
final mTransformType: TransformType
DefaultIndicatorController类
~mCurrentposition : int-mDotLayout : LinearLayout-mDots : List-mSlideCount : int
+newInstance(@NonNull context : Context): View+initialize(slideCount : int)+selectPosition(index : int)
PagerAdapter类
-fragments : List
+getItem(position : int) : Fragment+getCount() : int+getFragments() : List
0 条评论
下一页