Skip to content

Commit

Permalink
README.md (update Input Dialog)
Browse files Browse the repository at this point in the history
  • Loading branch information
Haerul Muttaqin committed Mar 20, 2021
1 parent c91e6e2 commit eb96559
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,25 @@ Confirm dialog:
}
})
.show();
Input dialog:

BottomFluxDialog.inputDialog(MainActivity.this)
.setTextTitle("Input Title")
.setTextMessage("This is a input message")
.setRightButtonText("SUBMIT")
.setInputListener(new BottomFluxDialog.OnInputListener() {
@Override
public void onSubmitInput(String text) {
Toast.makeText(MainActivity.this, "Input : " + text, Toast.LENGTH_SHORT).show();
}

@Override
public void onCancelInput() {
Toast.makeText(MainActivity.this, "Button Cancel Clicked!", Toast.LENGTH_SHORT).show();
}
})
.show();

## License

Expand Down

0 comments on commit eb96559

Please sign in to comment.