Skip to content

Commit

Permalink
Merge pull request #31 from akhbulatov/add-fun-to-sam-interface-liste…
Browse files Browse the repository at this point in the history
…ners

Add "fun" keyword to SAM interface listeners
  • Loading branch information
aartikov authored Feb 5, 2024
2 parents 9637eb9 + 4e28cd9 commit 1081210
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import me.aartikov.alligator.Screen
/**
* Interface for listening of dialog showing.
*/
interface DialogShowingListener {
fun interface DialogShowingListener {
/**
* Is called when a dialog was shown.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import me.aartikov.alligator.exceptions.NavigationException
/**
* Interface for navigation error handling.
*/
interface NavigationErrorListener {
fun interface NavigationErrorListener {
/**
* Is called when an error has occurred during [Command] execution.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import me.aartikov.alligator.ScreenResult
/**
* Interface for screen result handling.
*/
interface ScreenResultListener {
fun interface ScreenResultListener {
/**
* Is called when a screen that can return a result has finished.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import me.aartikov.alligator.Screen
/**
* Interface for listening of screen switching.
*/
interface ScreenSwitchingListener {
fun interface ScreenSwitchingListener {
/**
* Is called after a screen has been switched using [ScreenSwitcher].
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import me.aartikov.alligator.TransitionType
/**
* Interface for listening of screen transition.
*/
interface TransitionListener {
fun interface TransitionListener {
/**
* Is called when an usual screen transition (not screen switching and not dialog showing) has been executed.
*
Expand Down

0 comments on commit 1081210

Please sign in to comment.