ExpandableListView组视图展开默认 [英] ExpandableListView Group View Expand Default

查看:281
本文介绍了ExpandableListView组视图展开默认的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有发展ExpandableListView完美。

I have develop ExpandableListView perfectly.

在我的ExpandableListView五组的存在。首先加载时间,然后崩溃所有五个组。这是默认的。

In My ExpandableListView five groups are there. load first time then collapse all five group. it is default.

现在我的问题是加载第一次expandablelistview当时2组是扩大和其他3组是崩溃。

now my question is load first time expandablelistview at that time 2 groups are expand and other 3 groups are collapse.

所以,请指导我该怎么办?

so please guide me how to do?

推荐答案

现在我得到的解决方案,这将很好地工作。请使用此..

Now I got solution and it will work perfectly.. Please use this..

ExpandableListView Exlist;

Exlist.expandGroup(0);
Exlist.expandGroup(1);

这篇关于ExpandableListView组视图展开默认的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆