52,608 questions
0
votes
0
answers
28
views
scrollablePostionedList: how to get indices of visible items of a list
What is the right way to get the indices of the visible items
of a list displayed using scrollablePostionedList?
Some examples on StackOverflow use:
var first = itemPositionsListener.itemPositions....
0
votes
1
answer
45
views
How to Create a File Tree in GTK-RS/Relm4?
I've been struggling with this for a while, and I've almost got it- but not quite. This is what I have so far:
pub fn load_folder_view(state: &mut State) {
let path = state.current_folder_path....
1
vote
1
answer
69
views
MAUI C# Listview blank cells
Can anyone tell me why this doesn't work.
I am targetting Windows at the moment..
when I run it the cells appear on the page but there is no text in them.
I get the same problem with CollectionView.
I ...
0
votes
0
answers
56
views
Flutter rebuild specific ListView items
I mounted a trial code using a ListView widget to show three cards: Result(), ImputField(callbackFunction: callback) and VideoStreamer() item.
Is it possible that the callbackFunction only rebuilds ...
1
vote
2
answers
124
views
QML ListView flicking with fixed header
I want to have a QML ListView with a header that stays in place when the items are flicked or scrolled.
To achieve this, I have set the headerPositioning to ListView.OverlayHeader and changed the ...
0
votes
1
answer
76
views
How to handle sorting, filtering and pagination in the same ListView
GitHub link: https://github.com/IgorArnaut/Django-ListView-Pagination-Search-Sorting-Issue
I have an issue with the ListView.
I have pagination, side form for filtering and a form with select for ...
0
votes
0
answers
116
views
Flutter scroll lags and shakes when list items have different heights in the list
I'm facing an issue in my Flutter desktop app for Windows when scrolling through a list with items of different heights.
When I drag the scrollbar, it noticeably lags behind the mouse cursor and ...
0
votes
1
answer
98
views
ListView selection order
I want to select items in Listview by Ctrl (or Shift) + Click on item or by Drag-Select mouse gesture with focus rectangle like this:and keep items selection order.
I handle ...
0
votes
1
answer
71
views
WinUI 3 ListView not displaying items after app is installed from package
I'm developing a WinUI 3 desktop application using the "Empty App, packaged with Windows Application Packaging Project (WinUI 3 in Desktop)" template in Visual Studio on Windows 10 (build ...
1
vote
2
answers
111
views
How to scroll the page horizontally when using ListView vertical mode in Flutter
I have a very long ListView with long text in the ListView item and I don't want the text to wrap automatically. How to modify the code to scroll the entire page horizontally to show the text on the ...
-1
votes
1
answer
47
views
App crashing when updating listviews in Android Kotlin
My code below fails when I call adapter.notifyDataSetChanged(). I got this code from an example. Not important to the question but I am filling an editText box with a scanned barcode. I then try to ...
2
votes
2
answers
119
views
C# Refreshable ListView Binding Issue
In a resource dictionary I am defining a DataTemplate with x:Key="AnimalsDataTemplate". The resource dictionary is registered under Application.Resources in App.xaml.
In my main page, I have ...
0
votes
1
answer
65
views
Bind two textfields and a ListView to activate a button in JavaFX
I try to find a solution for my problem, but I'm at a dead end of my attempt and my small JavaFX skills.
Long story short, I want to activate a Button when two TextFields contains valid values and a ...
1
vote
1
answer
36
views
Calling a ListView from a separate dart file--do I have to define my list as a parameter of all my widgets?
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 file
main.dart
class ...
0
votes
0
answers
72
views
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 TListview.
...
1
vote
1
answer
181
views
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 ...
0
votes
1
answer
54
views
Flutter ListView not updating despite data list has been updated unless I scrolled all the way to the end
I'm trying to implement this posts-filter functions using Provider in Flutter, the posts has title, timestamp, pfp, and number of likes/comments, my problem is let's say if the user sorted to Oldest ...
0
votes
1
answer
77
views
How to position two lists vertically so that there's only a little space between them?
I have a set up where I have two DisclosureGroups and list of items beneath them:
struct HomeView: View
{
@State private var selectedItem: String?
var body: some View
{
...
0
votes
0
answers
49
views
Flutter sticky list tile
I am building a Flutter widget that displays a ranked leaderboard of users, where one of those users is me. I want to implement the following functionality:
If I'm not currently visible in the list, ...
0
votes
0
answers
105
views
Why does memory usage continuously increase when using ListView in Maui?
Actual Behavior:
Memory usage continuously increases over time
Memory is not being released even with proper disposal patterns implemented
Code Implementation:
using System.Collections.ObjectModel;
...
0
votes
0
answers
52
views
Is there a way to remove the SliverFillRemaning?
I'm working on a Flutter app where I have a TabBarView under a TabBar to display different lists. Each list dynamically generates HistoryCard widgets based on a mock data source. However, when the ...
0
votes
0
answers
29
views
Tool tip goes away and comes back on ListView
I am testing if it is possible to have a tool tip show up on top of a ListView Group Header. The following code works, which is in the subclass procedure for the ListView. The main issue I'm asking ...
1
vote
0
answers
43
views
Problem with usage ListModel in ListView in QML
Got problem with ListView using ListModel. Code seems to be straightforward and quite simple, but I missed something and cannot figure it out:
import QtQuick
import QtQuick.Controls
import QtQuick....
0
votes
1
answer
57
views
In VB.Net, navigate to Treeview node based on filepath
In my Windows Explorer type app with the obligatory Treeview and Listview, and having the users chosen file path continually updating in a Textbox, is there a way to navigate to different nodes in the ...
1
vote
2
answers
88
views
Text overflow issue in table
I am trying to display list in Table. But text overflow issue raised.
How to fix this issue with css? Kindly guide me.
.pkgtable {
width: 100%;
table-layout: fixed;
}
.pkgtable th,
td {
...