android-recyclerview Questions

9

Solved

I have a recycler view, and I want a smooth scrolldown and then scrollup to it programatically to show the complete content in it to user. I can do this by: final int height=recyclerView.getChildA...
Crusted asked 27/8, 2015 at 6:15

3

Solved

Just FYI, I'm not exactly looking for a 'fix' but for an explanation and a discussion that might help understand a little bit more how seemingly silly things like these work. I was working on this ...

2

Solved

I am facing this issue with my Recycler view while placing admob ads Problem: It is actually replaced the item from the list and place the ads After apply this solution recommended by one of the s...

9

How to auto scroll RecyclerView smoothly so that user can see all the elements of the RecyclerView and scroll again from the start - as in News Feed etc. I know smoothScrollToPosition() and scroll...
Diphyodont asked 3/3, 2016 at 13:48

4

Solved

I use a ViewPager2 inside another ViewPager2. Because of this, the slide only works for the root ViewPager. How to make both ViewPager work?
Straightjacket asked 25/5, 2020 at 22:1

12

Solved

I am using Firebase Recycler Adapter (Firebase UI Library) to populate Recycler View. I want to hide an item(row) on a condition. I have a LinearLayout containing a recycler view. I set linear la...

4

Solved

I have designed a layout with map fragment and recyclerView. Each recyclerView item is cardview (I have specified give the xml layout). The problem is RecyclerView item doesn't fill screen width....
Coneflower asked 18/11, 2015 at 4:42

3

Solved

Over the past few weeks I've been learning to use the RecyclerView. I need to implement a horizontal list, ie, that by turning the device in landscape mode like so: I found the best solution for...

1

I'm using Espresso to test a screen with a RecyclerView and a ComposeView in the ViewHolder. I want to click on a particular Composable inside the RecyclerView Thanks

4

Solved

This will be theoretical question. As everyone we use RecyclerView in many parts of the app. Sometimes RecyclerView contains different items, not only image for example, but ads, hints etc. And th...
Ison asked 9/10, 2016 at 17:21

2

I want to implement an horizontal RecyclerView inside a vertical RecyclerView. The end result should be like this: So, for each element in the vertical RecyclerView, I need another one in an ho...

6

Solved

I'm implementing an endless data loading for a RecyclerView. When software detects that last item is going to be shown, it downloads new items and call to the loadMoreData() function but new datase...

5

Solved

How do I animate the RecyclerView when the items appear for first time and also when the user scrolls, just like the way it works for the google plus app or the google news stand app. Also I read ...
Ineffable asked 27/1, 2015 at 22:33

2

Solved

I am using library recyclerview-multiselect in my project to select multiple items on recyclerview On samsung device: When I longpress and select a item the multiselector starts but as soon as I de...
Anstice asked 18/6, 2015 at 5:1

10

Solved

I am using recyclerview to display messages in a chat window. However, when a new message is being edited, the recycler view focus should be on the last element. I expect there would be some way to...
Corrales asked 16/12, 2015 at 8:23

8

Solved

I have this code: mRecycleView.setOnScrollListener(new RecyclerView.OnScrollListener() { @Override public void onScrolled(RecyclerView recyclerView, int dx, int dy) { super.onScrolled(recyclerV...
Chlor asked 5/4, 2015 at 23:48

4

Solved

I have recyclerview with edit text. Each row has a edit text. I am entering values in the edit text manually and after i enter values, I want to get those values in each and every row. I want to ge...
Peary asked 8/5, 2016 at 5:27

3

I have a RecyclerView as the only child of SwipeRefreshLayout, I want the RecyclerView wrap_content. When I set both of them "wrap_content", it doesn't work. The RecyclerView with fewer i...

2

I need to somehow notify RecyclerView when I drag and drop an item from another RecyclerView onto it. Is it possible? Or should I use classic Drag and drop framework? RecyclerView with blue ...
Josefinejoseito asked 6/6, 2016 at 13:44

3

How can we change the spanCount of RecyclerView dynamically? My code create 3 column of cards in RecyclerView: StaggeredGridLayoutManager mFavouratesLayoutManager; mFavouratesLayoutManager = ne...
Likable asked 26/12, 2014 at 12:11

1

When I have my RecyclerView height as wrap_content, as below <android.support.v7.widget.RecyclerView android:id="@+id/myRecyclerView" android:layout_width="match_parent" android:layout_heigh...
Wildebeest asked 10/11, 2016 at 13:11

5

Solved

I have a horizontal recyclerView, When I first open the activity I want to make all the items in recyclerview scroll to the bottom (to the right in this case) and back to the top (to the left). Kin...
Gadwall asked 19/2, 2018 at 9:10

4

I use fragments with ViewPager2, and I notice two relevant IllegalStateExceptions in production (I can't reproduce it myself) occurring in devices like Xiaomi, Yulong, asus, vivo running Android 8 ...
Wharfage asked 31/1, 2020 at 12:41

11

Solved

I have been making an app that uses a recycler view in a navigation drawer. Why the contents of the recycler view are not showing up. The view is definitely there as I can see the scroll shadows. I...

2

@Override public void onBindViewHolder(final mainscreenspecializationadap.MyViewHolder holder, final int positionz) { this.position = holder.getAdapterPosition(); final specializationpojo album ...

© 2022 - 2024 — McMap. All rights reserved.