Last active
December 16, 2018 20:51
-
-
Save patrick-elmquist/ce6ce62659231608c70ee29461d5eab1 to your computer and use it in GitHub Desktop.
Revisions
-
patrick-elmquist revised this gist
Dec 16, 2018 . 1 changed file with 5 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1 +1,5 @@ data class Show( @StringRes val title: Int, @StringRes val description: Int, @DrawableRes val image: Int ) -
patrick-elmquist revised this gist
Nov 21, 2018 . 1 changed file with 1 addition and 23 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,23 +1 @@ data class Show(@StringRes val title: Int, @StringRes val description: Int, @DrawableRes val image: Int) -
patrick-elmquist renamed this gist
Nov 21, 2018 . 1 changed file with 6 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,19 +1,19 @@ data class Show(@StringRes val title: Int, @StringRes val description: Int, @DrawableRes val image: Int) object ShowRepository { fun getAll(): List<Show> { return listOf( Show( R.string.the_grand_tour_title, R.string.the_grand_tour_description, R.drawable.grandtour ), Show( R.string.daredevil_title, R.string.daredevil_description, R.drawable.daredevil ), Show( R.string.john_oliver_title, R.string.john_oliver_description, R.drawable.johnoliver -
patrick-elmquist revised this gist
Nov 20, 2018 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -19,6 +19,5 @@ object SeriesRepository { R.drawable.johnoliver ) ) } } -
patrick-elmquist created this gist
Nov 20, 2018 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,24 @@ data class Series(@StringRes val title: Int, @StringRes val description: Int, @DrawableRes val image: Int) object SeriesRepository { fun getAll(): List<Series> { return listOf( Series( R.string.the_grand_tour_title, R.string.the_grand_tour_description, R.drawable.grandtour ), Series( R.string.daredevil_title, R.string.daredevil_description, R.drawable.daredevil ), Series( R.string.john_oliver_title, R.string.john_oliver_description, R.drawable.johnoliver ) ) } }