question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ListView from ScrollView

See original GitHub issue

Hi @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.

Screenshot 2022-03-15 at 06 40 40

I was not able to find a way to create a scrollable list that could overflow out of screen with a nice scroll bar. ezgif com-gif-maker

DirectoryTree was my main inspiration but I couldn’t find a way to make it dockable like this: ezgif com-gif-maker (1)

        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:closed
  • Created 2 years ago
  • Comments:5

github_iconTop GitHub Comments

2reactions
styk-tvcommented, Apr 12, 2022

thanks @cvaniak and for the demo and thanks @wasi-master for ping on the solution

0reactions
github-actions[bot]commented, Oct 25, 2022

Did we solve your problem?

Glad we could help!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found