| <?xml version="1.0" encoding="UTF-8"?> |
| <issues format="5" by="lint 4.2.0-alpha06" client="gradle" variant="debug" version="4.2.0-alpha06"> |
| |
| <issue |
| id="UnsafeNewApiCall" |
| message="This call is to a method from API 21, the call containing class androidx.viewpager2.widget.ViewPager2 is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)." |
| errorLine1=" super(context, attrs, defStyleAttr, defStyleRes);" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/main/java/androidx/viewpager2/widget/ViewPager2.java" |
| line="181" |
| column="9"/> |
| </issue> |
| |
| <issue |
| id="UnsafeNewApiCall" |
| message="This call is to a method from API 24, the call containing class androidx.viewpager2.widget.ViewPager2.SavedState is not annotated with @RequiresApi(x) where x is at least 24. Either annotate the containing class with at least @RequiresApi(24) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(24)." |
| errorLine1=" super(source, loader);" |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/main/java/androidx/viewpager2/widget/ViewPager2.java" |
| line="391" |
| column="13"/> |
| </issue> |
| |
| <issue |
| id="UnsafeNewApiCall" |
| message="This call is to a method from API 21, the call containing class androidx.viewpager2.widget.ViewPager2 is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)." |
| errorLine1=" if (applied.isConsumed()) {" |
| errorLine2=" ~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/viewpager2/widget/ViewPager2.java" |
| line="972" |
| column="21"/> |
| </issue> |
| |
| <issue |
| id="UnsafeNewApiCall" |
| message="This call is to a method from API 20, the call containing class androidx.viewpager2.widget.ViewPager2 is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)." |
| errorLine1=" mRecyclerView.getChildAt(i).dispatchApplyWindowInsets(new WindowInsets(applied));" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/viewpager2/widget/ViewPager2.java" |
| line="985" |
| column="41"/> |
| </issue> |
| |
| <issue |
| id="UnsafeNewApiCall" |
| message="This call is to a method from API 20, the call containing class androidx.viewpager2.widget.ViewPager2 is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)." |
| errorLine1=" mRecyclerView.getChildAt(i).dispatchApplyWindowInsets(new WindowInsets(applied));" |
| errorLine2=" ~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/viewpager2/widget/ViewPager2.java" |
| line="985" |
| column="67"/> |
| </issue> |
| |
| <issue |
| id="UnsafeNewApiCall" |
| message="This call is to a method from API 20, the call containing class androidx.viewpager2.widget.ViewPager2 is not annotated with @RequiresApi(x) where x is at least 20. Either annotate the containing class with at least @RequiresApi(20) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(20)." |
| errorLine1=" return insets.consumeSystemWindowInsets().consumeStableInsets();" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/viewpager2/widget/ViewPager2.java" |
| line="1008" |
| column="23"/> |
| </issue> |
| |
| <issue |
| id="UnsafeNewApiCall" |
| message="This call is to a method from API 21, the call containing class androidx.viewpager2.widget.ViewPager2 is not annotated with @RequiresApi(x) where x is at least 21. Either annotate the containing class with at least @RequiresApi(21) or move the call to a static method in a wrapper class annotated with at least @RequiresApi(21)." |
| errorLine1=" return insets.consumeSystemWindowInsets().consumeStableInsets();" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/viewpager2/widget/ViewPager2.java" |
| line="1008" |
| column="51"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" public CharSequence getAccessibilityClassName() {" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/viewpager2/widget/ViewPager2.java" |
| line="291" |
| column="12"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" protected void onRestoreInstanceState(Parcelable state) {" |
| errorLine2=" ~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/viewpager2/widget/ViewPager2.java" |
| line="333" |
| column="43"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" protected void dispatchRestoreInstanceState(SparseArray<Parcelable> container) {" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/viewpager2/widget/ViewPager2.java" |
| line="368" |
| column="49"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" public void onViewAdded(View child) {" |
| errorLine2=" ~~~~"> |
| <location |
| file="src/main/java/androidx/viewpager2/widget/ViewPager2.java" |
| line="492" |
| column="29"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo info) {" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/viewpager2/widget/ViewPager2.java" |
| line="952" |
| column="51"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" public boolean performAccessibilityAction(int action, Bundle arguments) {" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/main/java/androidx/viewpager2/widget/ViewPager2.java" |
| line="959" |
| column="59"/> |
| </issue> |
| |
| </issues> |