Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
HamedTaherpour committed Aug 30, 2020
1 parent 03e6581 commit 99d54d2
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,18 +63,12 @@ dependencies {
private FloatingCallBack floatingCallBack = new FloatingCallBack() {
@Override
public void onCreateListener(View view) {
Button btn = view.findViewById(R.id.btn_close);
btn.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
floatingLayout.close();
}
});

}

@Override
public void onCloseListener() {
Toast.makeText(getApplicationContext(), "Close", Toast.LENGTH_SHORT).show();

}
};

Expand Down

0 comments on commit 99d54d2

Please sign in to comment.