ListView from ScrollView
See original GitHub issueHi @willmcgugan. I’d like to open this issue a s a means of tracking one of the backlog items. Maybe there are more people interested in this feature. After days of trying I was unable to do it myself.
I was not able to find a way to create a scrollable list that could overflow out of screen with a nice scroll bar.
DirectoryTree was my main inspiration but I couldn’t find a way to make it dockable like this:
await self.view.dock(
ScrollView(self.directory), edge="left", size=48, name="sidebar"
)
It would be great to make the new ListView for example to contain a list of object, then bind a property like name to display something visible and then on selection to be able simply pass itself (full object) to another destination panel.
Anyone can share some ideas/tips on how to proceed or what to try?
Issue Analytics
- State:
- Created 2 years ago
- Comments:5
Top Results From Across the Web
Android list view inside a scroll view - Stack Overflow
For any Child view to scroll inside a ScrollView. Anything like ListView, RecyclerView, etc. You just have to replace ScrollView with androidx.core.widget.
Read more >How to put a ListView into a ScrollView without it collapsing on ...
Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create...
Read more >How to embed List in ScrollView using SwiftUI
Hi! I want to allow user to scroll a long list of items iOS app, so I am trying to embbed a List...
Read more >Flutter : ListView, GridView inside ScrollView | by Ayush P Gupta
We know this isn't a good practise as you can't put a ListView being a Scrollable widget inside ScrollView, but for some reason...
Read more >listview inside nested scrollview doesn't show the list item ...
Solution: Make android:fillViewport="true" more prominent for NestedScrollView,for example: <?xml version="1.0" encoding="utf-8"?>
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
thanks @cvaniak and for the demo and thanks @wasi-master for ping on the solution
Did we solve your problem?
Glad we could help!