Karumi / Karumi/ExpandableSelector

how can i modify your ExpandableItem name?

Open
#12 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.