forked from oppia/oppia-android
-
Notifications
You must be signed in to change notification settings - Fork 0
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 #2 from oppia/develop
Merge
- Loading branch information
Showing
24 changed files
with
86 additions
and
84 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
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: 2 additions & 2 deletions
4
.../app/topic/play/ChapterSummarySelector.kt → ...p/topic/lessons/ChapterSummarySelector.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,8 +1,8 @@ | ||
package org.oppia.app.topic.play | ||
package org.oppia.app.topic.lessons | ||
|
||
import org.oppia.app.model.ChapterSummary | ||
|
||
/** Interface to transfer the selected chapter summary to [TopicPlayFragmentPresenter]. */ | ||
/** Interface to transfer the selected chapter summary to [TopicLessonsFragmentPresenter]. */ | ||
interface ChapterSummarySelector { | ||
fun selectChapterSummary(chapterSummary: ChapterSummary) | ||
} |
2 changes: 1 addition & 1 deletion
2
.../play/ExpandedChapterListIndexListener.kt → ...ssons/ExpandedChapterListIndexListener.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
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: 2 additions & 2 deletions
4
...ia/app/topic/play/StorySummarySelector.kt → ...app/topic/lessons/StorySummarySelector.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,8 +1,8 @@ | ||
package org.oppia.app.topic.play | ||
package org.oppia.app.topic.lessons | ||
|
||
import org.oppia.app.model.StorySummary | ||
|
||
/** Interface to transfer the selected story summary to [TopicPlayFragmentPresenter]. */ | ||
/** Interface to transfer the selected story summary to [TopicLessonsFragmentPresenter]. */ | ||
interface StorySummarySelector { | ||
fun selectStorySummary(storySummary: StorySummary) | ||
} |
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
6 changes: 6 additions & 0 deletions
6
app/src/main/java/org/oppia/app/topic/lessons/TopicLessonsItemViewModel.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,6 @@ | ||
package org.oppia.app.topic.lessons | ||
|
||
import org.oppia.app.viewmodel.ObservableViewModel | ||
|
||
/** The root [ViewModel] for all individual items that may be displayed in [TopicLessonsFragment] recycler view. */ | ||
abstract class TopicLessonsItemViewModel: ObservableViewModel() |
6 changes: 6 additions & 0 deletions
6
app/src/main/java/org/oppia/app/topic/lessons/TopicLessonsTitleViewModel.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,6 @@ | ||
package org.oppia.app.topic.lessons | ||
|
||
import androidx.lifecycle.ViewModel | ||
|
||
/** [ViewModel] for title in [TopicLessonsFragment]. */ | ||
class TopicLessonsTitleViewModel : TopicLessonsItemViewModel() |
6 changes: 0 additions & 6 deletions
6
app/src/main/java/org/oppia/app/topic/play/TopicPlayItemViewModel.kt
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
app/src/main/java/org/oppia/app/topic/play/TopicPlayTitleViewModel.kt
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.