Quantcast
Channel: Active questions tagged listview - Stack Overflow
Browsing all 611 articles
Browse latest View live

How to use Checkboxes in TListView (OwnerData True) in Delphi

I am trying to implement checkboxes in a TListView component with OwnerData=True in Delphi 10.3.3 VCL project.Here's a minimal example of what I have tried so far:procedure TForm1.FormCreate(Sender:...

View Article


Implementing audio player in listview in android

I have listview which contains a list of audio files with play button and seekbar. I displayed the listview using base adapter. When I click a play button of a listview I want to play an audio file. I...

View Article


Image may be NSFW.
Clik here to view.

ListView of NumberBox with minimum constraint corrupts value when ordered

Consider this minimal example;xaml:<?xml version="1.0" encoding="utf-8" ?><Window x:Class="NumberboxText.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"...

View Article

Image may be NSFW.
Clik here to view.

Listview Separator Inset Full Width

So to my surprise, I haven't found anything on the web or SO on this particular issue. I'm trying to make my listview separator inset to be full width. I have found documentation on this for a...

View Article

How to Implement a Multi-Level ExpandableListView with Hierarchy: Plant →...

I am working on an Android project where I need to implement a hierarchical structure using an ExpandableListView. Currently, I have implemented a two-level hierarchy: Plant → Devices. Now, I want to...

View Article


setState() or markNeedsBuild called during build

class MyHome extends StatefulWidget { @override State<StatefulWidget> createState() => new MyHomePage2();}class MyHomePage2 extends State<MyHome> { List items = new List();...

View Article

Image may be NSFW.
Clik here to view.

View holder OnClickListener event issue

I am creating a listview adapter with view holder :final ViewHolder holder;if (convertView == null) { convertView = layoutInflater.inflate(R.layout.activity_list_layout, null); holder = new...

View Article

ListView not showing up / appearing android studio

I have two activities. MainActivity.java and HomeActivity.java. I am trying to create a ListView in HomeActivity.java just with "One", "Two", "Three", and "Four" as the List items but the ListView is...

View Article


Image may be NSFW.
Clik here to view.

Flutter: keyboard disappears immediately when editing my text fields

I'm trying to build an app front end with flutter and it's my first time so I faced some bugs like this one: there is no way to edit my textformfield because I putted my form elements in a listview !...

View Article


Enabling Action on empty ListView [closed]

I have an action linked to a ListView using vsReport ViewStyle. It is enabled as expected when I click on an item in the ListView. However it does not get enabled when the ListView is empty.This is my...

View Article

How to scroll to top of long ScrollView layout?

For part of my app, the user is presented with a list of names and is asked to group them as they see fit. (Note, the ListView code was copied verbatim from the Android Views tutorial. I haven't yet...

View Article

Image may be NSFW.
Clik here to view.

Apply custom border to each row in a List with SwiftUI

So, I want a List in SwiftUI, where the border of each row depends on some function of the contents of the row. Normally I can do this easily with .border() but List seems to take care of the styling...

View Article

Flutter - ListView.builder: Initial scroll position

I want to setup the initial scroll position of a ListView.builder, I want the list to start at the bottom 0.0If I setup reverse on the listView of course I get the initial scroll position to be the...

View Article


Flutter State Management Issue - Contant Reloading of UI

I would like some advice in general in regard to coding with Flutter.I'm currently working on a mobile application and I keep running into the same issue. The future builders and stream builders are...

View Article

No data displayed in listview Android0 until I set the array size in getcount...

I'm working with listview in Android which has two sections using a custom adapter. I'm getting the data from a webservice.it's working if I set the size of the array in getcount() to array.size()+1,...

View Article


SwiftUI List not selectable in iOS 15

I am using a List in an app I'm developing. I just discovered that selecting an item from the List isn't working in iOS 15. It does work in iOS 16, 17 and 18. (I had to download the iOS 16 simulator to...

View Article

How may I use one Kotlin Listview Adapter for 2 activities?

According to Android ListView Adapter multiple Activity and Can I use a single Custom Adapter for multiple activities in the same project?, it can be done. My code is as follows but it doesn't work. I...

View Article


adding header to multicolumn listview in android

I tried the following question in this forum Adding Header in Listviewbut the problem is same I've used a linearlayout having three textview as header to my multicolumn listview but the problem is that...

View Article

Image may be NSFW.
Clik here to view.

ListViewBuiler inside Row flutter

i am trying to add a listview inside a row , but i got this ErrorI have in the row Two widgets the first one with a column , the second widget is the listview builder that return another widget .I am...

View Article

Is it possible to 'freeze panes' in SharePoint lists?

I need to keep my columns header, so people can see what data is displayed there, but I can not find if it is possible, or how to do it. Also will be nice to add a navigation bar to the list. Any...

View Article
Browsing all 611 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>