python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Scrolling issue in nested recyclerview in ViewPager2
I have a recyclerview (vertical) and in its viewHolder layout, I have another recyclerview (horizontal), and both of these are in viewpager2 fragment. And now when I try to swipe the horizontal recycl...
Sudhir Choudhary
Votes: 0
Answers: 0
how to call ViewPager2.unregisterOnPageChangeCallback()?
So my problem is that I created a OnPageChangeCallback (successfully) BUT i am not sure how to unregister it to avoid memory leak...
this is my mainActivity file everything is working properly otherwi...
rico
Votes: 0
Answers: 2
Android ViewPager2: Not being able to make ViewPager2 width adjust to its content
This is my main -non scrolling- content:
<layout xmlns:android="http://schemas.android.com/apk/res/android">
<data>
</data>
<RelativeLayout
androi...
Diego Perez
Votes: 0
Answers: 1
How to share image from viewpager?
GalleryAdapter class
public class GalleryAdapter extends RecyclerView.Adapter<GalleryAdapter.ViewHolder> {
private Context context;
private List<String> images;
protected Phot...
Daly
Votes: 0
Answers: 1