listview Questions

2

I tried using Listview and Sliverlist, but the performance of my list is very slow. Even if the Items are loaded from the internet, the scrolling is very slow. Anybody some thoughts about the slow ...
Thomasenathomasin asked 24/7, 2020 at 9:14

12

Solved

I implemented a listview which get data from a json. I followed this implementation. How could i reverse the order of this listview? (The first element should became the last, ecc...).
Tap asked 28/9, 2018 at 9:35

4

Solved

I'm reusing this XML file for multiple ListViews in different activities (which I'm assuming has something to do with it), but I do not see why it would break. The XML file represents the individua...
Agata asked 26/11, 2013 at 21:22

5

I've been trying to reduce the space between sections in a list with the GroupedListStyle() applied without any luck. Code from above screenshot: struct ContentView: View { var body: some View { ...
Chronological asked 22/6, 2020 at 8:8

2

Solved

I have a streambuilder that loads information from firestore. Then I use a listview.builder to display the information. The displayed information is being called by the function firstBuildItem or b...
Foppish asked 10/4, 2020 at 14:47

11

Solved

I am trying to achieve a very common behavior nowadays which is to have a horizontal List within another widget that is at the same time scrollable. Think something like the home screen of the IMDb...

2

@Override public void onBindViewHolder(final mainscreenspecializationadap.MyViewHolder holder, final int positionz) { this.position = holder.getAdapterPosition(); final specializationpojo album ...

11

Solved

I have a list view and depending on some logic I want to temporary disable the scrolling. view.setOnScrollListener(null); doesn't helps me I guess I need to write some code, can someone give me a h...
Gorski asked 30/9, 2011 at 13:28

3

Solved

After flutter 2.5 update listview is scrolling only on mobile platforms. It doesn't scroll when I open it on the web. It was working fine in the previous version. I tried the scroll physics but it ...
Malm asked 12/9, 2021 at 19:10

3

Solved

TouchableOpacity makes things touchable, or as React Native says: A wrapper for making views respond properly to touches. But using it inside a ScrollView or ListView results in highlighting w...
Klug asked 3/6, 2016 at 9:28

7

Solved

I'm trying to show some Cards with the ListView.builder I want to set the heights of each card automatically to the height of its children content class HomePage extends StatelessWidget { Widget _...
Reviel asked 3/1, 2019 at 6:45

7

Solved

I am trying to get my bonded bluetooth devices but I can get it as a long string instead of list. This is my code: BluetoothAdapter mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); Set&l...
Dichotomy asked 29/5, 2012 at 8:16

5

Solved

listview is not working inside ExpansionTile i have tried to show a listview.builder inside ExpansionTile but it throws some exceptions Card( child: ExpansionTile( leading: Icon( Icons.stars, ...
Bifarious asked 11/1, 2019 at 18:33

3

Solved

What is the best way to inspect and assert that a listview is the expected size with android espresso? I wrote this matcher, but don't quite know how to integrate it into the test. public static ...
Chamblee asked 20/5, 2015 at 21:55

7

Solved

I can't seem to find a way to create spacing between List items. Maybe I shouldn't put in a list in the first place? What do you think? This the code that generates the view: struct ContentView: V...
Mckay asked 30/12, 2019 at 9:50

1

As google's said we must manually call Bitmap.recycle() when the bitmap not use below Android 3.0 because memory are keep in native heap. So we could have a reference count for a Bitmap and check ...
Choir asked 11/1, 2016 at 13:13

5

Solved

In this code, I am trying to make a list of buttons or tiles "as buttons do not work well for me " at the very top of the page. Thus, when one is clicked it returns a value in the rest of...
Drumstick asked 30/10, 2018 at 19:18

18

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 ...
Kris asked 7/11, 2010 at 20:4

1

I'm building a chat application and I've reached the part where I'm creating the actual chat interface. I decided to use the ListView.builder() constructor, as I'm working with potentially a great ...
Longlongan asked 24/9, 2020 at 16:23

3

I have a custom listview which is filled with webview. I want to use the pinch zoom in/Zoom out for my webview. But i m not getting the pinch zoom in/out flexibly when i m pinching the webview it i...
Shericesheridan asked 21/1, 2013 at 13:30

5

Solved

I've more than one element in one xml.. listview,slidingdrawer,edittext and button... i want to sliding drawer order is always in front of another elements...but i can't.. here my xml <com.ltvie...
Dilative asked 13/1, 2013 at 2:4

15

I have a ListView where each row has an EditText control. I want to add a TextChangedListener to each row; one that contains extra data which says which row the EditText was in. The problem is that...
Bartholomeo asked 7/6, 2011 at 19:22

29

Solved

I have a problem with implementing double tap. Well I implemented the onGestureListener and I had the gestureDetector, but I'm not sure where is the problem, here is my code: public class home ex...
Sunrise asked 7/2, 2010 at 18:2

2

Solved

Background: I'm converting a project from UIKit to SwiftUI. Currently with UIKit, I have a UICollectionView within a UICollectionView, both with Paging enabled. This allows users to swipe up/down a...
Hamann asked 10/8, 2020 at 22:27

11

Solved

How can I set the column width of a c# winforms listview control to auto. Something like width = -1 / -2 ?
Kindig asked 10/8, 2009 at 22:9

© 2022 - 2024 — McMap. All rights reserved.