-
Notifications
You must be signed in to change notification settings - Fork 539
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
25 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
4 changes: 3 additions & 1 deletion
4
app/src/main/java/org/oppia/android/app/administratorcontrols/LoadProfileEditListener.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 |
---|---|---|
@@ -1,7 +1,9 @@ | ||
package org.oppia.android.app.administratorcontrols | ||
|
||
import org.oppia.android.app.model.ProfileId | ||
|
||
/** Listener for when an activity should load [ProfileEditFragment]. */ | ||
interface LoadProfileEditListener { | ||
/** Inflates [ProfileEditFragment] as part of a tablet mode a multipane fragment. */ | ||
fun loadProfileEdit(profileId: Int, profileName: String) | ||
fun loadProfileEdit(profileId: ProfileId, profileName: String) | ||
} |
4 changes: 3 additions & 1 deletion
4
...main/java/org/oppia/android/app/settings/profile/LoadProfileEditDeletionDialogListener.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 |
---|---|---|
@@ -1,10 +1,12 @@ | ||
package org.oppia.android.app.settings.profile | ||
|
||
import org.oppia.android.app.model.ProfileId | ||
|
||
/** Listener for when the activity should inflate [ProfileEditDeletionDialogFragment]. */ | ||
interface LoadProfileEditDeletionDialogListener { | ||
/** | ||
* Inflates [ProfileEditDeletionDialogFragment] for the configuration changes, i.e. rotating the device | ||
* from landscape to portrait, and saves the state of the dialog. | ||
*/ | ||
fun loadProfileEditDeletionDialog(internalProfileId: Int) | ||
fun loadProfileEditDeletionDialog(profileId: ProfileId) | ||
} |
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