diff --git a/app/src/main/java/com/heinrichreimersoftware/materialintro/demo/MaterialIntroActivity.java b/app/src/main/java/com/heinrichreimersoftware/materialintro/demo/MaterialIntroActivity.java index 347b662..1af09d0 100644 --- a/app/src/main/java/com/heinrichreimersoftware/materialintro/demo/MaterialIntroActivity.java +++ b/app/src/main/java/com/heinrichreimersoftware/materialintro/demo/MaterialIntroActivity.java @@ -118,7 +118,7 @@ public boolean canGoBackward(int position) { addOnNavigationBlockedListener(new OnNavigationBlockedListener() { @Override - public void onNavigationBlocked(int position, @Direction int direction) { + public void onNavigationBlocked(int position, int direction) { View contentView = findViewById(android.R.id.content); Snackbar.make(contentView, (permissions && position == 4) ? R.string.label_grant_permissions : R.string.label_fill_out_form,