@@ -264,9 +264,9 @@ public interface OnPageChangeListener {
264
264
}
265
265
266
266
/**
267
- * Simple implementation of the {@link OnPageChangeListener} interface with stub
267
+ * Simple implementation of the {@link ## OnPageChangeListener} interface with stub
268
268
* implementations of each method. Extend this if you do not intend to override
269
- * every method of {@link OnPageChangeListener}.
269
+ * every method of {@link ## OnPageChangeListener}.
270
270
*/
271
271
public static class SimpleOnPageChangeListener implements OnPageChangeListener {
272
272
@ Override
@@ -326,10 +326,10 @@ void onAdapterChanged(@NonNull SliderPager viewPager,
326
326
* pager.
327
327
*
328
328
* <p>Views marked with this annotation can be added to the view pager with a layout resource.
329
- * An example being {@link PagerTitleStrip}.</p>
329
+ * An example being {@link ## PagerTitleStrip}.</p>
330
330
*
331
331
* <p>You can also control whether a view is a decor view but setting
332
- * {@link LayoutParams#isDecor} on the child's layout params.</p>
332
+ * {@link ## LayoutParams#isDecor} on the child's layout params.</p>
333
333
*/
334
334
@ Retention (RetentionPolicy .RUNTIME )
335
335
@ Target (ElementType .TYPE )
@@ -662,7 +662,7 @@ private void scrollToItem(int item, boolean smoothScroll, int velocity,
662
662
663
663
/**
664
664
* Set a listener that will be invoked whenever the page changes or is incrementally
665
- * scrolled. See {@link OnPageChangeListener}.
665
+ * scrolled. See {@link ## OnPageChangeListener}.
666
666
*
667
667
* @param listener Listener to set
668
668
* @deprecated Use {@link #addOnPageChangeListener(OnPageChangeListener)}
@@ -675,7 +675,7 @@ public void setOnPageChangeListener(OnPageChangeListener listener) {
675
675
676
676
/**
677
677
* Add a listener that will be invoked whenever the page changes or is incrementally
678
- * scrolled. See {@link OnPageChangeListener}.
678
+ * scrolled. See {@link ## OnPageChangeListener}.
679
679
*
680
680
* <p>Components that add a listener should take care to remove it when finished.
681
681
* Other components that take ownership of a view may call {@link #clearOnPageChangeListeners()}
@@ -712,17 +712,17 @@ public void clearOnPageChangeListeners() {
712
712
}
713
713
714
714
/**
715
- * Sets a {@link PageTransformer} that will be called for each attached page whenever
715
+ * Sets a {@link ## PageTransformer} that will be called for each attached page whenever
716
716
* the scroll position is changed. This allows the application to apply custom property
717
717
* transformations to each page, overriding the default sliding behavior.
718
718
*
719
719
* <p><em>Note:</em> By default, calling this method will cause contained pages to use
720
- * {@link View#LAYER_TYPE_HARDWARE}. This layer type allows custom alpha transformations,
721
- * but it will cause issues if any of your pages contain a {@link android.view.SurfaceView}
722
- * and you have not called {@link android.view.SurfaceView#setZOrderOnTop(boolean)} to put that
723
- * {@link android.view.SurfaceView} above your app content. To disable this behavior, call
720
+ * {@link # View#LAYER_TYPE_HARDWARE}. This layer type allows custom alpha transformations,
721
+ * but it will cause issues if any of your pages contain a {@link ## android.view.SurfaceView}
722
+ * and you have not called {@link ## android.view.SurfaceView#setZOrderOnTop(boolean)} to put that
723
+ * {@link ## android.view.SurfaceView} above your app content. To disable this behavior, call
724
724
* {@link #setPageTransformer(boolean, PageTransformer, int)} and pass
725
- * {@link View#LAYER_TYPE_NONE} for {@code pageLayerType}.</p>
725
+ * {@link # View#LAYER_TYPE_NONE} for {@code pageLayerType}.</p>
726
726
*
727
727
* @param reverseDrawingOrder true if the supplied PageTransformer requires page views
728
728
* to be drawn from last to first instead of first to last.
@@ -734,17 +734,17 @@ public void setPageTransformer(boolean reverseDrawingOrder,
734
734
}
735
735
736
736
/**
737
- * Sets a {@link PageTransformer} that will be called for each attached page whenever
737
+ * Sets a {@link ## PageTransformer} that will be called for each attached page whenever
738
738
* the scroll position is changed. This allows the application to apply custom property
739
739
* transformations to each page, overriding the default sliding behavior.
740
740
*
741
741
* @param reverseDrawingOrder true if the supplied PageTransformer requires page views
742
742
* to be drawn from last to first instead of first to last.
743
743
* @param transformer PageTransformer that will modify each page's animation properties
744
744
* @param pageLayerType View layer type that should be used for SliderPager pages. It should be
745
- * either {@link View#LAYER_TYPE_HARDWARE},
746
- * {@link View#LAYER_TYPE_SOFTWARE}, or
747
- * {@link View#LAYER_TYPE_NONE}.
745
+ * either {@link # View#LAYER_TYPE_HARDWARE},
746
+ * {@link # View#LAYER_TYPE_SOFTWARE}, or
747
+ * {@link # View#LAYER_TYPE_NONE}.
748
748
*/
749
749
public void setPageTransformer (boolean reverseDrawingOrder ,
750
750
@ Nullable PageTransformer transformer , int pageLayerType ) {
@@ -908,7 +908,7 @@ float distanceInfluenceForSnapDuration(float f) {
908
908
}
909
909
910
910
/**
911
- * Like {@link View#scrollBy}, but scroll smoothly instead of immediately.
911
+ * Like {@link # View#scrollBy}, but scroll smoothly instead of immediately.
912
912
*
913
913
* @param x the number of pixels to scroll by on the X axis
914
914
* @param y the number of pixels to scroll by on the Y axis
@@ -918,7 +918,7 @@ void smoothScrollTo(int x, int y) {
918
918
}
919
919
920
920
/**
921
- * Like {@link View#scrollBy}, but scroll smoothly instead of immediately.
921
+ * Like {@link # View#scrollBy}, but scroll smoothly instead of immediately.
922
922
*
923
923
* @param x the number of pixels to scroll by on the X axis
924
924
* @param y the number of pixels to scroll by on the Y axis
@@ -2785,7 +2785,7 @@ public boolean executeKeyEvent(@NonNull KeyEvent event) {
2785
2785
* Handle scrolling in response to a left or right arrow click.
2786
2786
*
2787
2787
* @param direction The direction corresponding to the arrow key that was pressed. It should be
2788
- * either {@link View#FOCUS_LEFT} or {@link View#FOCUS_RIGHT}.
2788
+ * either {@link # View#FOCUS_LEFT} or {@link # View#FOCUS_RIGHT}.
2789
2789
* @return Whether the scrolling was handled successfully.
2790
2790
*/
2791
2791
public boolean arrowScroll (int direction ) {
@@ -3139,7 +3139,7 @@ public static class LayoutParams extends ViewGroup.LayoutParams {
3139
3139
/**
3140
3140
* Gravity setting for use on decor views only:
3141
3141
* Where to position the view page within the overall SliderPager
3142
- * container; constants are defined in {@link Gravity}.
3142
+ * container; constants are defined in {@link ## Gravity}.
3143
3143
*/
3144
3144
public int gravity ;
3145
3145
0 commit comments