Quantcast
Browsing latest articles
Browse All 592 View Live

How to add a ListView to a Column in Flutter?

I'm trying to construct a simple login page for my Flutter app. I've successfully built the TextFields and log in/Sign in buttons. I want to add a horizontal ListView. When I run the code my elements...

View Article


Image may be NSFW.
Clik here to view.

ListView in Listview - SelectedIndex of parent not set when selecting child

I have a UI which displays a ListView in a ListView:<ListView SelectedIndex="{x:Bind ParentViewModel.SelectedParentIndex, Mode=TwoWay}" ItemsSource="{x:Bind ParentViewModel.ParentViewModels,...

View Article


Two Listviews on a single aspx page

I have 2 ASP.NET ListViews on a ASP.NET page, lv1 and lv2. I am having a hard time trying to access lv1's data items from lv2's. I needed to do it make comparisons for the items in both the listviews...

View Article

Android - ListView smoothScrollToPositionFromTop(pos, 0) does not work for...

I have a listView, and whenever the user clicks on any item, I that selected item to scroll automatically to the top position. So far, I've tried smoothScrollToPositionFromTop(pos, 0) and it does work....

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


How to paint according to qStylesheet in QStyledItemDelegate

I want to subclass QStyledItemDelegate and modify it with QStyleSheets. I dont have any clue of how to get it to work. I tried plenty of hours to just display anything, looking like I defined in the...

View Article

Create items in a listview dynamically at runtime with delphi firemonkey

With the code below I can create a button inside a listview item but when I click on the button it causes an error, any ideas to solve it, apparently it could be because I am not able to add a relative...

View Article

Content of Fragment not loading every time when using the NavigationDrawer

I have a Navigation Drawer with 6 Fragments. One of them should contain a ListView. I got it to work and I can switch through all the Fragments via the Navigation Drawer. When I press on the one...

View Article


Get the length of List that exists in Map in Flutter

so i'm working on a Map that has this structure :Map<String, List<Video>> mapName;Where Video is just an object that has 3 attributes : String title,String videoURL, bool isDone.I'm planing...

View Article


SQlite Pagination on ListView scrolling in Android

I'm stuck in implementing Pagination in Android. I need help to creating pagination with Sqlite local database at the end of List-view Scrolling.I'm trying to add 10 items per page and increase the...

View Article

How to make ListWheelScrollView horizontal

I Am trying to have a horizontal ListView Widget that magnifies the center items. I tried using the normal ListView but I couldn't get the center items to magnify. Then while searching the flutter docs...

View Article

Flutter: Scrolling to a widget in ListView

How can I scroll to a special widget in a ListView?For instance I want to scroll automatically to some Container in the ListView if I press a specific button.ListView(children: <Widget>[...

View Article

Android EditText field doesn't allow user input in ListView

I've searched for many post on the internet for my issue but no one is helping me, so I try a new question.I have an Activity with a ListView containing in each row two TextViews...

View Article


Image may be NSFW.
Clik here to view.

How to trigger visibility on stack panels in neighboring columns in a GridView?

There is an expander in column 0.How can the visibility of the stack panels in the neighboring columns be toggled between Visible and Collapsed based on IsExpanded state of the Expander?<ListView...

View Article

How to set width of columns when setting ListView's view as List in C#?

I have ListView (in winForms) in my software and it shows name of software i fill it with.ListView's view can be set to details, big or small icons or list.When it set to list, sometimes i have a file...

View Article


SearchView with ListView changes item positions, need exact item IDs for...

Hello I have a searchview to filter results within a short list. I currently use an integer to pass to the next activity to load up what needs to be displayed. However if you search, the item you...

View Article

Firemonkey TListview linked to dataset refresh issue

In Delphi 12.0, I'm using Firemonkey TListview.I link a dataset to it so the contents show the dataset correctly.However if I modify a record it will not update the changed row in...

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

Flash background of a listview item when an network event occurred

I have a list of items that is represented by separate view models. Each view model is listening to network event. I want to flash the background of a listview item when a specific error happen. I have...

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

ASP.NET Grid View vs. List View

What are the advantages of using listview over gridview? I need pagination, editing rows, inserting rows, and deleting rows in my view. Which control is best for that? It seems like GridView does not...

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


White Column in List View of My Fiori App

I'm having a problem with my Fiori app. In the list view, there's always a white column on the right that I can't remove. I've tried various layout options, but nothing has helped so far.here is the...

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

Flutter ListView lazy loading in both directions (up, down)

I would like to have a ListView in flutter which provides lazy loading in both directions (up, down).Example: There are 60000 items in the backend database which can be theoretically displayed.First I...

View Article


How to initialize listview inside fragment in activity

I am new to android. I am trying to initialize listview in fragment using a custom adapter but I have problem with using the custom adapter constructor.Here is my custom adapter code.public class...

View Article

Calling a ListView from a separate dart file--do I have to define my list as...

In my app, I have a ListView that I would like to populate with Firebase data. I successfully did it, but now, I would like to separate my ListView in another dart filemain.dartclass _MyHomePageState...

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

Why is my ListView custom drawing not applying row background colors in Win32...

I'm trying to apply custom row background colors to a ListView in a dialog-based Win32 application using WM_NOTIFY and NM_CUSTOMDRAW.However, the colors are not being applied correctly, and the...

View Article



JavaFX: Wrapping text in ListView

I am trying to build a text editor. I'm using a ListView for storing comments. I want the string to be wrapped automatically without me having to scroll through it horizontally so that long string...

View Article
Browsing latest articles
Browse All 592 View Live


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