Tags
Android
Asked 3 years ago
4 Oct 2021
Views 1900
Theodora

Theodora posted

Android - mising ViewPager in Androidx

Cannot resolve class android.support.v4.view.ViewPager


  <android.support.v4.view.ViewPager
                                android:id="@+id/awad_pager"
                                android:layout_width="match_parent"
                                android:layout_height="@dimen/_130sdp" />
iPhone-coder

iPhone-coder
answered Oct 4 '21 00:00


 <android.support.v4.view.ViewPager


replace with

    <androidx.viewpager.widget.ViewPager
Post Answer