I create a list view on app widget but I want to make my list view not scrollable. How to achieve that since we have limited control on view component in app widget.
Asked
Active
Viewed 116 times
0
-
Take a look https://stackoverflow.com/questions/7611085/disable-scrolling-in-listview – Ali Amini Dec 28 '20 at 14:42
-
Does this answer your question? [Disable scrolling in listview](https://stackoverflow.com/questions/7611085/disable-scrolling-in-listview) – Nadim Ansari Oct 28 '21 at 10:33
1 Answers
0
I'm not sure whether does it work in app widget or not, but you can try to set nested scrolling of your list view by using:
my_listView.setNestedScrollingEnabled(false)

ycannot
- 1,807
- 1
- 9
- 20