-1

I want to Create A List view just like the image below.

I am having confusion with the sections like To Do and Top Categories

How to to differentiate between or make a list view like that .

any tutorial or suggestion would help .This list view has different sections

Vivek Mishra
  • 5,494
  • 7
  • 44
  • 77

3 Answers3

1

What i suggest to u is to create a layout and put everything u want inside a <ScrollView> <ScrollView/>. That way u will give the sense of a listview. Additionally, inside <ScrollView> you can put as many listviews as you want.

Please check this documentation about scrollView

as well as How to use ScrollView in Android? or anything that has to do with customizing scrollView.

Community
  • 1
  • 1
0

Instead of ListView use RecylerView which will contain 3 sections Header(ToDo), Central(Top Categories) and the Bottom(Feature Gigs) Part each will have different view. You can see this answer how to create the RecylerView with multiples View Types You can see this tutorial how to use RecylerView

Community
  • 1
  • 1
Muhammad Younas
  • 2,008
  • 21
  • 33
0

Try with the following. Follow play store like layout.

Make a layout containing parent recyclerview.

Make a layout (Parent recyclerview row). That row will contain a title on left, a title on right, and below that a horizontal recyclerview.

Now make two adapters for parent recyclerview and child recyclerview.

Construct your data model class for both of these recyclerview accordingly.

mnp343
  • 329
  • 1
  • 6