Skip to content

Commit

Permalink
add setParent method to tree node.
Browse files Browse the repository at this point in the history
  • Loading branch information
TellH committed Oct 3, 2016
1 parent a3986fb commit 0e927bf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ dependencies {
compile 'com.android.support:recyclerview-v7:24.2.1'
testCompile 'junit:junit:4.12'
// compile project(path: ':recyclertreeview-lib')
compile 'com.github.TellH:RecyclerTreeView:1.1.2'
compile 'com.github.TellH:RecyclerTreeView:+'
}
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ public boolean isExpand() {
return isExpand;
}

public void setParent(TreeNode parent) {
this.parent = parent;
}

@Override
public String toString() {
return "TreeNode{" +
Expand Down

0 comments on commit 0e927bf

Please sign in to comment.