Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
HamedTaherpour committed Nov 3, 2020
1 parent d90da7a commit 55a3743
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ dependencies {
### Java
##### Step 3. Create FloatingLayout
```java
private FloatingCallBack floatingCallBack = new FloatingCallBack() {
private FloatingListener floatingListener = new FloatingListener() {
@Override
public void onCreateListener(View view) {

Expand All @@ -72,7 +72,8 @@ private FloatingCallBack floatingCallBack = new FloatingCallBack() {
}
};

floatingLayout = new FloatingLayout(this, R.layout.sample_layout, floatingCallBack);
floatingLayout = new FloatingLayout(this, R.layout.sample_layout);
floatingLayout.setFloatingListener(floatingListener);
floatingLayout.create();
```

Expand Down

0 comments on commit 55a3743

Please sign in to comment.