Remove ViewPager2 Overscroll animation

Issue Can’t find a way to remove the ViewPager2 overscroll shadow animation. I know on ViewPager, you can directly just set the overscrollMode attribute to never, however, it does not work on ViewPager2 Already tried the following <androidx.viewpager2.widget.ViewPager2 android:id=”@+id/viewPager” android:layout_width=”match_parent”

Continue reading

Recycler View doesn't show anything

Issue list_users.xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:orientation="horizontal" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@drawable/user_list_bg" android:layout_margin="10dp"> <de.hdodenhof.circleimageview.CircleImageView android:id="@+id/user_profile_image_view" android:layout_width="90sp" android:layout_height="90sp" android:src="@drawable/user_image_placeholder" android:layout_margin="12dp" app:border_width="1sp" android:clickable="true" android:focusable="true"> </de.hdodenhof.circleimageview.CircleImageView> <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center_vertical" android:orientation="vertical"> <TextView android:id="@+id/user_name_tv" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="Hardik Dhuri" android:layout_marginBottom="10dp" android:textSize="24sp"/> <TextView android:id="@+id/last_message_tv" android:layout_width="match_parent" android:layout_height="wrap_content"

Continue reading