We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
** * 设置当前的状态 * * @param type */ public void setCurrStatus(StatusType type) { action(type); }
ExpandableTextView中有一个方法可以展开或收起 前提是你没有设置bind 也就是列表中保存展开或收起状态
/** * 绑定状态 * * @param model */ public void bind(ExpandableStatusFix model) { mModel = model; } 如果绑定了状态的解决方法 在自己代码需要展开或者收起的地方设置状态(ps:状态是反的) 如果想打开: model.setStatus(StatusType.STATUS_CONTRACT); expandableTextView.setCurrStatus(entity.getStatus()); 如果想收起: model.setStatus(StatusType.STATUS_EXPAND); expandableTextView.setCurrStatus(entity.getStatus());
The text was updated successfully, but these errors were encountered:
No branches or pull requests
**
* 设置当前的状态
*
* @param type
*/
public void setCurrStatus(StatusType type) {
action(type);
}
ExpandableTextView中有一个方法可以展开或收起 前提是你没有设置bind 也就是列表中保存展开或收起状态
/**
* 绑定状态
*
* @param model
*/
public void bind(ExpandableStatusFix model) {
mModel = model;
}
如果绑定了状态的解决方法
在自己代码需要展开或者收起的地方设置状态(ps:状态是反的)
如果想打开:
model.setStatus(StatusType.STATUS_CONTRACT);
expandableTextView.setCurrStatus(entity.getStatus());
如果想收起:
model.setStatus(StatusType.STATUS_EXPAND);
expandableTextView.setCurrStatus(entity.getStatus());
The text was updated successfully, but these errors were encountered: