Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
iammert authored Jul 31, 2017
1 parent 86c2859 commit 2d96701
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@ Expandable LinearLayout

# Setup

## Layout
```xml
<iammert.com.expandablelib.ExpandableLayout
android:id="@+id/el"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:parentLayout="@layout/layout_parent"
app:childLayout="@layout/layout_child"/>
```
## Set renderers
```java
expandableLayout.setParentRenderer(new ExpandableLayout.Renderer<FruitCategory>() {
Expand Down

0 comments on commit 2d96701

Please sign in to comment.