Most voted "android-recyclerview" questions
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.
Learn more…119 questions
Sort by count of
-
0
votes2
answers268
viewsHow to make a list from a GET request in Retrofit 2?
My question is how to take the request JSON and put it in an Arraylist so I can inflate the Recyclerview. Thanks in advance.
-
0
votes0
answers419
viewsE/Recyclerview: On Adapter Attached; Skipping layout on time access the main menu
To produce a shopping mall in my application I made a recyclerview in my main menu to demonstrate all the products that are in the database. I am trying to connect the field known as "Category" to…
-
0
votes1
answer109
viewsNull Object Reference when listing data with Firebaserecycleradapter
I’m trying to popular a Recyclerview with the Firebaserecycleradapter. When the onBindViewHolder method is called to popular the layout through the Viewholder class, the error is triggered:…
-
0
votes0
answers79
viewsAndroid Recyclerview cache
I have a recyrcleview on most devices worked well, but on some devices version 7, it’s a bit buggy, it’s kind of cached with the first elements. Does anyone have any idea? example of normal working…
-
0
votes1
answer9
viewsRecyclerview only lists data when interacting with other components
I’m having trouble displaying the result of a firebase query in Recyclerview, only displaying the result when I click inside the Edittext component.
android-recyclerviewasked 6 years, 1 month ago Renato Souza 321 -
0
votes1
answer89
viewsSave Radiobuttom after selection
Hello, someone could help me in this matter, I have a list with questions in them there are 3 Radiosbuttom for responses, what I want is when the user click the save button, he lists the selected…
java android sqlite android-recyclerview radiobuttonasked 5 years, 4 months ago Renderson Cerqueira 1 -
0
votes0
answers24
viewsImages Listed by Recyclerview Disappear when giving Scroll and when filtered by Getfilter() all Somem
Hello, I’m new to Android and I face a problem. I am bringing from the database a list of cars by Recyclerview in a Fragment, and bring together the images of them in binary format. I’ve been able…
-
0
votes0
answers11
viewsDo not use onItemClick
I would like to use the onLongItemClick method . addOnItemTouchListener, but only him. I don’t want to use onItemClick because it disturbs another way I use to click on the list item (through…
-
0
votes0
answers52
viewsRecyclerview does not expand
Hello, Here’s the thing, I’m using two Recyclerview in parallel: <android.support.v7.widget.RecyclerView android:layout_width="match_parent" android:layout_height="wrap_content"…
-
0
votes2
answers402
viewsRecyclerview Images with Problem loading images==null
Hello, everybody. I’m making a Recyclerview with a Textview and an Imageview that is loaded from the bank. The problem is when this image is null. Recycler View goes well into a certain part and…
-
0
votes0
answers325
viewsControl position change of a recyclerview through a progression
I’m trying to make a routine, where I control my item passage from my recyclerView by a progressBar, I mean, every time I change the item, this change has to be reflected in the Ogress. The problem…
-
0
votes0
answers133
viewsConcept of implementing a Recyclerview
I am developing a native android application and I am in doubt how to best implement the following behavior: I have a Recyclerview that lists several items (obviously), however I want that when I…
-
0
votes1
answer42
viewsHow to (Re)use Googleapiclient in recyclerview and Adapter
I’m using Google Places API for Android for suggestion of addresses in input fields. This API uses Googleapiclient to operate. The app has a fragment composed of a recyclerview and a FAB. On…
-
0
votes2
answers141
viewsRecyclerview does not roll fast
I have a RecyclerView that only rolls with your finger glued to the screen, if I make that quick move, to scroll enough items, it only rolls while the finger is on the screen, and then stops. I’ve…
-
0
votes1
answer19
viewsProblem with Menupop
Hello, so it’s no longer the first time I’ve been having trouble with Recyclerview.Viewholder, in this case now happens the following, My menu has 2 buttons I’m trying to catch the click with switch…
-
0
votes1
answer81
viewsProblem with Recycleradpter Popupmenu
I’m having trouble with Popupmenu, when I click on imageButtom fails and gives the following error 02-14 15:27:26.531 11084-11092/? E/art: Failed sending reply to Debugger: Broken pipe 02-14…
-
0
votes0
answers131
viewsProblem with Recyclerview
I have the following problem, I have a screen where I display a list using a Recyclerview, until then it works well, then when I use the view Scroll it creates "spaces" blank in the list ... private…
-
0
votes1
answer537
viewsRecycleradapter with different layouts
I would like to know how to use a different layout with the scheme below, If I am in Activity A showing Layout 1, if I am in Activity B show Layout 2, I saw that it is done with viewType , but I…
-
0
votes1
answer111
viewsMyviewholder with error
I’m studying about Recyclerview but when I try to execute the code it has a strange error. android.view.InflateException: Binary XML file line #43: Attempt to invoke virtual method 'boolean…
-
0
votes1
answer1265
viewsClick on an Item in recycleView and open Activity
I’m having doubts in my application about recycleView, I would like to click on an item in the list to open an Activity with the other data in detail... Someone could help me understand how to do…
-
0
votes1
answer184
viewsHow to pass the received data from an activity and put it into a recyclerview
Hello, I’m beginner in java programming and I’m having trouble passing some serialized information from an activity to a recyclerview. When the second activity is started it brings no information.…
-
0
votes1
answer3991
viewsRecyclerview No Adapter Attached; Skipping layout
My app was closing at start, I was recommended to pass all code ( creation of the Recycle view ) to the onActivityCreated from Fragment, I did this, the app works, but it should load the recycleview…
-
0
votes1
answer609
viewsFloat Action Button does not get fixed at the footer with Collapsing Actionbar/Toolbar
I have a Fragment with Coordinator layout, recyclerview and a Float Action Button, and in the view that calls this Fragment has a tablayout that hides and appears as you go up or down the Recycler…
java android android-recyclerview material-design floatingactionbuttonasked 7 years ago Julio Antonini 9 -
0
votes1
answer254
viewsCustom Recyclerview Blanks
I’m having trouble in my custom list is with too much blank item space for each other Follows code <RelativeLayout android:layout_width="match_parent" android:layout_height="wrap_content"…
-
0
votes1
answer582
viewsAndroid Development Recovering Firebase Data
Hello guys I come again for answers, I have a bank in firebase that has some movies and series and even tv shows, wanted to separate in genres these attributes, Example: whatever serial gets fixed…
-
0
votes1
answer39
viewsRecyrcleview Android
In my case I will need to put several buttons in a recyrcleview has to recognize on which button was clicked or only the position of an item in the list? <TableRow android:id="@+id/tableRow1"…
-
0
votes1
answer317
viewsUpdate recyclerview from another fragment, in the same viewpager
I have a viewpager that contains 3 fragments, one for transactions performed,one for transactions canceled and one for open transactions. Each fragment has a recyclerview for displaying transactions…
-
0
votes1
answer114
viewsPick up an item from Recyclerview and associate one class to another
The thing is, I’m making an app for reading books that is worth as a final note, and I want to do this: after registering a book, I would like to add comments on it. When touching an item from…
-
0
votes1
answer242
viewsRecycler view does not load when the app first opens
I have a recycler view within a fragment in a tablayout, being the main tab. After logging in, it does not load the data, only loads if I change tab and return, or close and open the APP. Code:…
-
0
votes0
answers108
viewsHow to save the size of my recyclerview
The size of my recyclerview and second shape setado mDatabase.limitToFirst(valor1*valor2)... valor1 = 1 * valor= 4 = 4 When I roll the recyclerview till the end call…
-
0
votes1
answer71
viewsRecyclerview Android
I wanted to make imageButton appear if item.getImprimir() == true. It seems to work ok but if scrolling Recyclerview down starts to appear problems, it starts to appear right where…
java android android-adapter android-recyclerviewasked 6 years, 9 months ago Anderson Scherdovski 85 -
0
votes0
answers166
viewsShow first letter textview
I’m taking the Firebase data and putting it into a Reciclerview. And I’m using the Textdrawable library to display the first letter of the text naming in a circle made the gmail app.However I cannot…
-
0
votes0
answers275
viewsHow to save checkbox on sqlite using recyclerView - android
So I have a project that has a checkbox list that when clicked would record in a column in the bank that items were marked, so far so good. Only I did not take into account the size of the list and…
-
0
votes1
answer109
viewsExchange of information between Recycleviews
I have request tabs where "RECEIVED" retrieves data from Firebase BD inside a Recycleview. Request made by a user and received by the company. Now how do the items below: 1 - The company…
-
0
votes1
answer77
viewsHow to Hide My Recyclerview
I have an event at my Adapter that controls the click in the items of recyclerview. I would like to know which code I should add that when clicking on the item, the Recycler view be hidden @Override…
-
0
votes1
answer318
viewsRecycleview item returning the same data for all items when clicked
I have a list of addresses in Recycleview and each address has its latitude and longitude coordinates retrieved from the bank. But when I click on the list item to start a route from the coordinates…
-
0
votes1
answer198
viewsRecycler view com async task
I have the class of my Activity public class Convenio_Conselho_Listar_TL extends AppCompatActivity { public List<Convenio_Conselho_Grid_BD> oConvenios; RecyclerView mRecyclerView; private…
-
0
votes1
answer67
viewsReceive Radiobutton value in Recyclerview
good night. I would like your help in a problem that I’m having, I’m developing an app for a college job, in case I’m going to have an Activity that will have a kind of research, or quiz, as you…
-
0
votes0
answers22
viewsAndroid - How to notify updates in the UI from a Cursorloader without Contentprovider?
How to notify updates in the UI using a Loader without ContentProvider? I’m wearing a CursorAdapter custom to show a list using RecyclerView through a Loader (Storing data in pure Sqlite, other than…
-
0
votes1
answer139
viewsUsing Firebase to store images and bring on Android screen
Good morning, I created a Recyclerview with Cardview to show some photos that are stored in Firebase, but when bringing the photos to the screen the same does not fit in cardView I left the image as…
-
0
votes1
answer623
viewsDelete recyclerView item from Adapter
I’m trying to apply a feature by clicking on an icon inside a Recyclerview list. By clicking on the icon, I record the acceptance of the condition, if not accepted, the "whole item" should be…
-
0
votes1
answer922
viewsHow to take data from a Recyclerview item by clicking on it
Good morning, everyone. I’m populating a Recyclerview with data from a Firebase database. So far so good, it’s displaying everything correctly. My question is how I get the user id when clicking on…
-
0
votes1
answer118
viewsHow to recover data using Firebaserecycleradapter that has automatically generated Ids?
am having an error using Firebaserecycleradapter, at the time of recovering the data from firebase presents this error: "com.google.firebase.database.Databaseexception: Expected a List while…
android firebase android-recyclerview id firebase-databaseasked 6 years, 1 month ago djalmafreestyler 194 -
0
votes1
answer33
viewsRetrieve the containsKey()
Good afternoon, I’m starting to use Android Studio, in the following situation I’m stuck: have the Mainactivity where through a recyclerView I have a listing, by clicking on one of these listings…
-
0
votes1
answer37
viewsHow to show details of a recycling item by id?
In my adapter I putExtra the id and then in the details of the activity I want to get the id and through the id go to search in the database the information. for example name Myrecycleradapter…
-
0
votes1
answer217
viewsPagination with recycleview and staggeredGridLayoutManager
I’m trying to paginate with Recycleview and Staggeredgridlayoutmanager but I’m not getting the right result. Every time I start the app, right at the beginning of the list, it displays the Oast that…
-
0
votes1
answer54
viewsRecyclerview is displaying entire json array instead of object
Inside recyclerView everything is being displayed correctly except the "name" (Notifier > name) When I use String creatorName = hit.getString("notifier"); it shows the entire "Notifier" object.…
-
0
votes1
answer250
viewsUse Retrofit to popular a Recyclerview
I need to bring up a list of cities in one RecyclerView of a WebService using the Retrofit. But my List this coming null. I have a Class cidades with the data I need to take from WebService, to…
android android-studio web-service android-recyclerview retrofitasked 5 years, 7 months ago Regina Moraes 43 -
0
votes1
answer260
viewsRecyclerview click item 1 open Activity 1, click item 2 open Activity 2
public class ListAdapter extends RecyclerView.Adapter<ListAdapter.MyViewHolder> implements View.OnClickListener { private List<Categoria> categoriaList; private Context Context; public…
-
0
votes1
answer29
viewsProblem trying to recycle multiple fragments ( Youtubeplayerfragment )
I am trying to view youtube videos using Youtubeplayerfragment through Recyclerview, the links are saved in Firebase but if there is more than one link when it will inflate a new layout I get the…