0

I want a view that looks something like this

<view>
  <custom-button> //hard-coded
  <custom-button> //hard-coded
  <list>
    // dynamic list contents
  </list>
<view>

Where all of the contents are scrollable within the outer view. My first thought was to put it all in a scrollview but apparently you can't place a listview inside a scrollview. What is the best approach to something like this?

user1809913
  • 1,785
  • 1
  • 14
  • 25

1 Answers1

0

One of the possible solutions could be use your CustomButtons as a part of ListView or RecyclerView (first item of list) and use ViewHolder pattern for efficiency depending on what kind of other data is in your list.

Swapnil Bhoite
  • 392
  • 2
  • 12