use of com.unnamed.b.atv.sample.holder.SelectableItemHolder in project AndroidTreeView by bmelnychuk.
the class SelectableTreeFragment method fillFolder.
private void fillFolder(TreeNode folder) {
TreeNode file1 = new TreeNode("File1").setViewHolder(new SelectableItemHolder(getActivity()));
TreeNode file2 = new TreeNode("File2").setViewHolder(new SelectableItemHolder(getActivity()));
TreeNode file3 = new TreeNode("File3").setViewHolder(new SelectableItemHolder(getActivity()));
folder.addChildren(file1, file2, file3);
}
Aggregations