-
Notifications
You must be signed in to change notification settings - Fork 527
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into delete-profile-message
- Loading branch information
Showing
46 changed files
with
2,212 additions
and
210 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
13 changes: 13 additions & 0 deletions
13
app/src/main/java/org/oppia/android/app/home/ExitProfileListener.kt
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,13 @@ | ||
package org.oppia.android.app.home | ||
|
||
import org.oppia.android.app.model.ProfileType | ||
|
||
/** Listener for when a user wishes to exit their profile. */ | ||
interface ExitProfileListener { | ||
/** | ||
* Called when back press is clicked on the HomeScreen. | ||
* | ||
* Routing behaviour may change based on [ProfileType] | ||
*/ | ||
fun exitProfile(profileType: ProfileType) | ||
} |
Oops, something went wrong.