Skip to content
This repository was archived by the owner on Jun 3, 2026. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/src/main/java/com/nispok/snackbar/Snackbar.java
Original file line number Diff line number Diff line change
Expand Up @@ -790,6 +790,7 @@ public void showByReplace(ViewGroup parent, boolean usePhoneLayout) {
show(parent, usePhoneLayout);
}


/**
* Displays the {@link Snackbar} at the bottom of the
* {@link android.app.Activity} provided.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ protected void onCreate(Bundle savedInstanceState) {

Button singleLineButton = (Button) findViewById(R.id.single_line);
singleLineButton.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
@Override
public void onClick(View v) {
SnackbarManager.show(
Snackbar.with(SnackbarSampleActivity.this)
.text("Single-line snackbar"));
}
}
});

Button singleLineWithActionButton = (Button) findViewById(R.id.single_line_with_action);
singleLineWithActionButton.setOnClickListener(new View.OnClickListener() {
@Override
Expand Down