Questions tagged [android-recyclerview]

The RecyclerView component stands out as a highly adaptable and versatile alternative to both ListView and GridView.

Looking for advice on how to load JSON data into a CardView within a RecyclerView using Volley

I am using these classes, and they were working fine with some static data. Here is the JSON response I received: [{"place_name":"Udon House"},{"place_name":"Casa Biance"},{"place_name":"Pizza hut"},{"place_name":"Pearl Continental "},{"place_name":"Laho ...

Show information from a JSON file using a RecyclerView and CardView

I've been working on displaying data from a json file in a listview using recyclerview and cardview. However, when I launch my app, it only shows a blank screen. I can't seem to figure out what went wrong as there are no errors showing up in Andr ...

Parsing JSON and presenting it in a recycler-view card fragment

I've been attempting to parse JSON using Volley and display it with a recycler-card view in my tabbed fragment class on Android. However, the JSON response is not being displayed in the fragment. Despite no errors or exceptions showing up, the app runs smo ...

Issue encountered while parsing the JsonArray

Hi, I have encountered an issue while parsing a JSON data. Here is the link to the JSON data that I'm working with. Currently, I am trying to parse the JSON array for images so that I can display them in a recycler view using Picasso library. However, whe ...

Ways to determine if a Recyclerview is empty

Looking for help with managing data in a RecyclerView within CardViews? I've tried checking if the ArrayList is empty, but it's not working. Any suggestions would be appreciated. Thanks! Below is the code snippet from my fragment: public class Tab1Histor ...

Populating Recyclerview with data from a JSONObject containing a single string with various values

In my application, I am dealing with a `DataList` jsonArray that contains a jsonObject named `Data`. The string within the `Data` object consists of various values separated by the character "ยด". These values correspond to the keys in the "Headers" obje ...

Tips on Initiating a Phone Call using a Button Click within a Recyclerview

When using the method ACTION_CALL, I encountered a problem. Clicking the button on the first card view causes the app to call the phone number 11111111. However, clicking the button on the second card view also calls the same number 1111111. What I want i ...

RecyclerVroom: There seems to be a problem with the Police Data JSON - The adapter is

Hi everyone, I need some assistance with retrieving data from the police data website. Unfortunately, when I try to fetch the data, the application displays an error message "E/RecyclerView: No adapter attached; skipping layout". I have shared the code f ...