-
-
Notifications
You must be signed in to change notification settings - Fork 305
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from Jucedik/master
Added validation feature (#7)
- Loading branch information
Showing
14 changed files
with
326 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
library/src/main/java/com/heinrichreimersoftware/materialintro/app/NavigationInterface.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
package com.heinrichreimersoftware.materialintro.app; | ||
|
||
/** | ||
* Created by juced on 15.03.2016. | ||
*/ | ||
public interface NavigationInterface { | ||
|
||
/** | ||
* Calling before click next. If return true - show next page | ||
* @param position | ||
* @return | ||
*/ | ||
boolean onNextClick(int position); | ||
|
||
/** | ||
* Calling before click previous. If return true - show previous page | ||
* @param position | ||
* @return | ||
*/ | ||
boolean onPreviousClick(int position); | ||
|
||
/** | ||
* Calling when impossible to navigate next or previous page | ||
* @param position | ||
* @param direction | ||
*/ | ||
void onImpossibleToNavigate(int position, int direction); | ||
|
||
} |
8 changes: 8 additions & 0 deletions
8
...c/main/java/com/heinrichreimersoftware/materialintro/app/SetNavigationStateInterface.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package com.heinrichreimersoftware.materialintro.app; | ||
|
||
/** | ||
* Created by juced on 15.03.2016. | ||
*/ | ||
public interface SetNavigationStateInterface { | ||
void setAllowNextForSlideByPosition(int position); | ||
} |
Oops, something went wrong.