Questions tagged [recyclerview-layout]

RecyclerView is a more advanced and flexible version of ListView. It was introduced with the Android L Developer Preview, but is also available as part of the Support Library.

RecyclerView is a more advanced and flexible version of ListView, introduced in the Android L Developer Preview but also backported to the Support Library. It is a container for large sets of views that can be recycled and scrolled very efficiently.

Yo use a RecyclerView, an adapter (extending RecyclerView.Adapter) and a layout manager (extending RecyclerView.LayoutManager) must be provided. By default, RecyclerView provides LinearLayoutManager, which shows the items in a vertical or horizontal scrolling list.

Official Documentation

Tag Usage:

436 questions
-2
votes
1 answer

recyclerview Limit results to size of the screen, no vertical scrolling,

[Sliding left takes to next page of results and sliding right takes to prev page of results (of the same search), dashes at the bottom shows the page position please look into the png] https://i.stack.imgur.com/fyxac.png
-2
votes
1 answer

How to increase and decrease the product count of each row of recycleview?

I want to increase and decrease the count of each row. I did this but the problem is count value same for each row.so I want when user increase and decrease the count of row 0 the count 1 after that when user come to second-row count should start…
Sumit Kumawat
  • 127
  • 10
-2
votes
2 answers

RecyclerView Not showing data from Json array

Whenever i try to add data to recycler view, the recycler view doesn't show any data. I tried debugging the program and I am successfully getting JSON data using Retrofit into the application(Checked by printing it in Log). But RecyclerView shows…
-2
votes
1 answer

How to add multiple Images in a RecyclerView Item similar to Instagrams

I have a recyclerview in which I show items in a cardview successfully with a single image. I want to be able to add the ability to view more than one image in the cardview in a slider similar to Instagram. I have implemented the slider in an…
CaptRisky
  • 751
  • 4
  • 13
  • 25
-2
votes
1 answer

How to add newly added data from firebase to the top of the recyclerview and not at the bottom

I am making android app on Firebase and I want to see new data in top same as Facebook etc. How to do to show data in my app in top when user upload new data please tell me how to do this //layout…
-2
votes
1 answer

Recycleview updates its layout

My question is asked before in many threads such as How do I make RecyclerView update its layout?. But unfortunately none of them fixed my issue. I am using recycleview in my android project. for each item I have hidden checkbox and I am trying to…
Halil RAŞO
  • 207
  • 4
  • 12
-2
votes
2 answers

Select only one checkbox in section recylerview?

I am using sectional recyclerview for add to cart screen. and want to select only one checkbox at a time from various items from category. Below is code and screen image. Please give me solution for select only one checkbox at a time from product…
-2
votes
2 answers

Error on the second fragment with recycler view layout manager

I have a mainActivity with a fragment container which i set one of three fragments in it. In each one i have a recycler view and I move to the next fragment on an item click. The first fragment with the recyclerView is set as follows …
-3
votes
1 answer

Custom recyclerview item android

I wanted to create the view as shown below. this is a view in the horizontal recycler view: the view has a background transparent. With the below code I was able to achieve the view shown in the image. The generated view has background…
-3
votes
1 answer

RecyclerView Header

How can i achieve the following recyclerview header animation which sticks to the top and updates on scroll? Please see the below gif to get an idea.
-3
votes
1 answer

giving error No adapter attached; skipping layout

showing blank screen firebase recyclerview adapter is not attached after clicking on food item menu pic1 shows blank screen no adapter attached pic2 FoodList.java public class FoodList extends AppCompatActivity { RecyclerView recycler_food; …
-3
votes
1 answer

Deny scroll to first position in recyclerview

I have recycler view with adapter. Need deny user to scroll to item with 0 index, when it was scrolled. F.e user scrolls to 5 item and when scrolls back first visible will be item with index 1. Will be glad any ideas how to implement this feature.
-3
votes
3 answers

Method is not called from onCreate

I am making classified marketplace android app. So, I have to show ads or post done by people on my home page, all is working and I am getting all my post on postman but not on my recycleview. public class SearchFragment extends Fragment { …
-3
votes
2 answers

How to implement 2 different views of unknown size?

Recycler View I am adding images from gallery and text from edit text. Two arrays for getting two different views: private ArrayList mImages = new ArrayList(); private ArrayList mDataSet = new ArrayList(); Problem:…
shyam
  • 1,084
  • 12
  • 20
-3
votes
4 answers

Issue: Two checkbox are checked at a time while select any checkbox in RecyclerView Adapter

Now I am using RecyclerView with CheckBox. My Goal is get selected Checkbox list. Here My Problem is while I try to select any one Checkbox means it select two Checkbox at the same time. For example I am select in 0th position Checkbox but It…
Raja
  • 2,775
  • 2
  • 19
  • 31
1 2 3
29
30