Questions tagged [listview]

A ListView is a vital component of graphical user interfaces found in most modern operating systems. It allows users to display items in a list format, making navigation and organization of information easier.

How to reference a ListView control using its DataSource in a C# class

Currently, I have a ListView embedded in a webpage connected to a C# class datasource called CommentsDAO. This class contains the necessary methods to retrieve or delete data from the ListView. While data retrieval is successful, deleting a row proves to b ...

MySQL database encountered an error attempting to retrieve a frame for an index that is out of range (React Native)

Recently, I started my journey into learning react-native through instructional videos. However, the videos referenced the use of ListView, which is set to be deprecated and removed soon. After researching, it became clear that FlatList is the recommended ...

A step-by-step guide to displaying a list of HTML page titles with clickable links on the homepage using Django

Snapshot of my window view I apologize if this question seems simple, but I am still learning about Django. I am currently in the process of creating a website where articles are stored as template files. My goal is to showcase all article titles on the h ...

Input field in a tableview

I have a ListView that features a dropdown, 4 textboxes and buttons. My goal is to only show the fourth textbox (enclosed in a span) when the dropdown value in each row of the ListView is set to 2. For instance, if there are 5 records being displayed in t ...

Having trouble passing a selected item from a listview to another activity using JSON in an Android application?

As a newcomer to android development, I am facing an issue with my TypeMenu Activity. In this activity, all items are fetched from the server and displayed in a ListView. I also have another class called SubMenu activity where items along with images are f ...

Issue with Jquery Mobile listview not showing up

I'm currently working on a PhoneGap application using jQuery Mobile, which consists of four main sections, each with its own HTML file. The issue arises when navigating from one section to another; for example, if I load the main.html page first and then c ...

Adding a JSON array to a ListView

I am new to Java programming language, so please forgive any obvious or silly mistakes I may have made. I am working on an activity in which I retrieve a JSON encoded string from a PHP file and display it in a simple list view. However, I am encountering ...

How to display JSON images in an Android listview

I'm facing difficulty in loading images from a JSON file to the listview on my Android app Although I know that I need to use BitmapFactory.decodeStream, I am unsure about how to proceed with the implementation Below are the details of my adapter an ...

Loading Google Books JSON data into a ListView

Currently, I am utilizing the Google Books API to search for books. However, I am encountering an issue when trying to populate my ListView with the searched books as it is throwing an error specifically in the onPostExecute method, but I am unable to iden ...

Displaying a single row in an Android ListView by iterating through json_encode with PHP

I am looking to extract JSON data from a PHP file that has been looped and then insert it into an array list (ListView) within my Android activity. However, I am encountering an issue where only one row from the JSON is being displayed in the ListView, spe ...

Developing a personalized collection of top picks and syncing them across multiple

Currently, I am in the process of developing a favorites list using a custom listview. ----------------------------------- <Item_Name> <favorite button> ----------------------------------- On the listView, there is an onItemClickListener. ...

Having trouble accessing listview capabilities in jquerymobile?

I am currently delving into the world of jquerymobile. I am experimenting with a sample project where I aim to showcase a listview. Below is the code that I have been working on. <!doctype html> <html> <head> <link rel="stylesheet" h ...

Incorporating nested JSON data into a ListActivity

Here is a snippet of nested JSON that I am working with: { "status": 1, "data": [ { "iMainServiceId": 1, "main": "NAILS", "sub": [ { "iSubServiceId": 1, "vName": ...

Achieving SwipeToDismiss Functionality in a LazyRow with Jetpack Compose

I've been exploring examples of SwipeToDismiss functionality within a LazyColumn, but I haven't come across one that implements it in a LazyRow. Here is my current implementation: @OptIn(ExperimentalMaterialApi::class) @Composable fun DashboardDa ...

Explanation on retrieving JSON data from a ListView and passing it to another activity using SQLite in Android Studio

My goal is to navigate from the HOMESCREEN to a new activity, INTERNETSEARCHSCREEN, and then finally to the EDITINGSCREEN. I have successfully displayed JSON data on a listview but now I want to select a movie from the listview and display specific fields ...

Angular demo showcasing a Multi-Column ListView component in NativeScript

I have a question that may seem simple to you, but I haven't been able to find a straightforward example anywhere. I came across this resource already, but it's not in Angular. As a beginner in Nativescript (I've been working with it for a ...

Dealing with null values from JSON when a list view row is clicked: Tips and suggestions

My knowledge of Java is limited, but I managed to pull data from an API to a list view successfully. However, when trying to display more details upon clicking on an item in the list view, I encountered errors related to handling null results in my text vi ...

When displaying JSON data in an Android app, the ListView is only displaying a single row

I am working on displaying JSON data in a ListView within an Android app. I am able to retrieve the JSON data successfully, but when attempting to display it in the ListView, only one row is showing up. Additionally, I want each row’s data to be shown in ...

"Lost and Found Hub" app integrating ViewPager, Fragment navigation, ListView display, and JSON data storage

I am developing an application for a lost property office. The app is designed with four tabs, and each tab should showcase announcements uploaded by users. When a user clicks on an item, a new activity opens to provide more details (similar to a news feed ...

Displaying JSON Array in ListView - Merging

Although this question has been asked before, my code has some variations which are causing confusion regarding where I need to make changes. My goal is to extract data ("fest_name") and store it in an ArrayList called "festivals", and then display it i ...

Implement a functionality where data is fetched from a MYSQL database using JSON when an item is clicked on the list

As a newcomer to android development, I am facing some challenges in incorporating a basic feature into my project. The application I am working on is designed for professors to view a list of students who are under probation in the database. My goal is ...

Retrieving images using JSON and displaying them in a ListView

Currently, I am in the process of developing a major application and have successfully written JSON code to retrieve text from the server and display it in a list view. However, I am facing difficulty in trying to incorporate images into my list. I have m ...

What is the process of integrating autocompletetextview with listview?

After successfully displaying the response from the server using a list view, I attempted to add an AutoCompleteTextView to search for items by name. However, upon running my app, it crashes and displays errors. I have already sought help on this issue. T ...