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
I used Custom View for the node it applies as wrap Content I used the views as MAtch Parent
The text was updated successfully, but these errors were encountered:
public static class MyHolder extends TreeNode.BaseNodeViewHolder<Category> { public MyHolder(Context context) { super(context); } @Override public View createNodeView(final TreeNode node, Category value) { final LayoutInflater inflater = LayoutInflater.from(context); final View view = inflater.inflate(R.layout.row_category_simple, null, false); ViewGroup.LayoutParams rootParams = new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT); view.setLayoutParams(rootParams); ///////*********set layout params to your view return view; } }
Sorry, something went wrong.
@ehsanhvd Nice workaround 👍
No branches or pull requests
I used Custom View for the node it applies as wrap Content I used the views as MAtch Parent
The text was updated successfully, but these errors were encountered: