Karumi / Karumi/ExpandableSelector
how can i modify your ExpandableItem name?
- Dominant language
- Java
- Stars
- 685
- Forks
- 117
- PR merge metrics
- No merged PRs in 30d
Description
how can i modify your ExpandableItem name when i open weiget?
i use code below this line:
es_selector.setExpandableSelectorListener(new ExpandableSelectorListener()
{
@Override
public void onCollapse()
{
Logger.e("ware"," adadad" );
es_selector.getExpandableItem(0).setResourceId(R.string.choose_type);
}
```
@Override
public void onExpand()
{
Logger.e("ware"," adadad" );
es_selector.getExpandableItem(0).setResourceId(R.string.narmal);
}
@Override
public void onCollapsed()
{Logger.e("ware"," adadad" );
es_selector.getExpandableItem(0).setResourceId(R.string.choose_type);
}
@Override
public void onExpanded()
{Logger.e("ware"," adadad" );
es_selector.getExpandableItem(0).setResourceId(R.string.narmal);
}
});
```
i can see Log message but the ExpandableItem name didn't modifed,if you have spare times,tell me please!
Contributor guide
Research direction
Start with the ExpandableSelectorListener callbacks and the calls to es_selector.getExpandableItem(0).setResourceId shown in the issue. Check how ExpandableItem names are updated after these callbacks, then reproduce the behavior and determine what confirms that the displayed name changes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100