-1

How to show ExpandableListView manually if i touch a button. So far, the only way i can open it is by sliding the screen.

I couldn't find any method like show() like on Toast. I've tried looking for any similar sound method on android reference.

Aruman
  • 1,646
  • 1
  • 12
  • 12

2 Answers2

0

I think you can try scrollTo method to scroll to a postion.
For open/ close a group, you can use expand method.

justHooman
  • 3,044
  • 2
  • 17
  • 15
0

I found the answer. Turns out, i was wrong. I should've animate the container. In this case, the drawer.

I got my answer from here. How to open Drawer Layout only with button?

I just need to call opendrawer().

Community
  • 1
  • 1
Aruman
  • 1,646
  • 1
  • 12
  • 12