Permalink
Browse files

Move to app.tivi package

  • Loading branch information...
chrisbanes committed May 29, 2018
1 parent 91ed9fd commit f26bc13b374de7d257d461cee68e2ff373c978b5
Showing with 1,579 additions and 744 deletions.
  1. +1 −1 README.md
  2. +2 −2 app/build.gradle
  3. +2 −2 app/proguard-rules.pro
  4. +5 −5 app/src/androidTest/java/{me/banes/chris → app}/tivi/HomeActivityNavigationTests.kt
  5. +1 −1 app/src/androidTest/java/{me/banes/chris → app}/tivi/utils/CustomActions.kt
  6. +1 −1 app/src/androidTest/java/{me/banes/chris → app}/tivi/utils/CustomMatchers.kt
  7. +3 −3 app/src/main/AndroidManifest.xml
  8. +1 −1 app/src/main/java/{me/banes/chris → app}/tivi/TiviActivity.kt
  9. +1 −1 app/src/main/java/{me/banes/chris → app}/tivi/TiviAppGlideModule.kt
  10. +3 −3 app/src/main/java/{me/banes/chris → app}/tivi/TiviAppNavigator.kt
  11. +3 −3 app/src/main/java/{me/banes/chris → app}/tivi/TiviApplication.kt
  12. +1 −1 app/src/main/java/{me/banes/chris → app}/tivi/TiviFragment.kt
  13. +1 −1 app/src/main/java/{me/banes/chris → app}/tivi/api/Status.kt
  14. +1 −1 app/src/main/java/{me/banes/chris → app}/tivi/api/UiResource.kt
  15. +2 −2 app/src/main/java/{me/banes/chris → app}/tivi/appinitializers/AndroidJobInitializer.kt
  16. +1 −1 app/src/main/java/{me/banes/chris → app}/tivi/appinitializers/AppInitializer.kt
  17. +1 −1 app/src/main/java/{me/banes/chris → app}/tivi/appinitializers/AppInitializers.kt
  18. +2 −2 app/src/main/java/{me/banes/chris → app}/tivi/appinitializers/ThreeTenBpInitializer.kt
  19. +2 −2 app/src/main/java/{me/banes/chris → app}/tivi/appinitializers/TimberInitializer.kt
  20. +1 −1 app/src/main/java/{me/banes/chris → app}/tivi/extensions/LiveDataExtensions.kt
  21. +2 −2 app/src/main/java/{me/banes/chris → app}/tivi/extensions/ViewExtensions.kt
  22. +14 −14 app/src/main/java/{me/banes/chris → app}/tivi/home/HomeActivity.kt
  23. +4 −4 app/src/main/java/{me/banes/chris → app}/tivi/home/HomeActivityViewModel.kt
  24. +8 −8 app/src/main/java/{me/banes/chris → app}/tivi/home/HomeBuilder.kt
  25. +6 −6 app/src/main/java/{me/banes/chris → app}/tivi/home/HomeFragment.kt
  26. +6 −6 app/src/main/java/{me/banes/chris → app}/tivi/home/HomeFragmentViewModel.kt
  27. +3 −3 app/src/main/java/{me/banes/chris → app}/tivi/home/HomeModule.kt
  28. +3 −3 app/src/main/java/{me/banes/chris → app}/tivi/home/HomeNavigator.kt
  29. +5 −5 app/src/main/java/{me/banes/chris → app}/tivi/home/HomeNavigatorViewModel.kt
  30. +2 −2 app/src/main/java/{me/banes/chris → app}/tivi/home/discover/DiscoverBuilder.kt
  31. +11 −11 app/src/main/java/{me/banes/chris → app}/tivi/home/discover/DiscoverEpoxyController.kt
  32. +13 −13 app/src/main/java/{me/banes/chris → app}/tivi/home/discover/DiscoverFragment.kt
  33. +12 −12 app/src/main/java/{me/banes/chris → app}/tivi/home/discover/DiscoverViewModel.kt
  34. +4 −4 app/src/main/java/{me/banes/chris → app}/tivi/home/discover/DiscoverViewState.kt
  35. +2 −2 app/src/main/java/{me/banes/chris → app}/tivi/home/followedshows/FollowedShowsBuilder.kt
  36. +7 −7 app/src/main/java/{me/banes/chris → app}/tivi/home/followedshows/FollowedShowsFragment.kt
  37. +11 −11 app/src/main/java/{me/banes/chris → app}/tivi/home/followedshows/FollowedShowsViewModel.kt
  38. +2 −2 app/src/main/java/{me/banes/chris → app}/tivi/home/library/LibraryBuilder.kt
  39. +11 −11 app/src/main/java/{me/banes/chris → app}/tivi/home/library/LibraryEpoxyController.kt
  40. +13 −13 app/src/main/java/{me/banes/chris → app}/tivi/home/library/LibraryFragment.kt
  41. +13 −13 app/src/main/java/{me/banes/chris → app}/tivi/home/library/LibraryViewModel.kt
  42. +5 −5 app/src/main/java/{me/banes/chris → app}/tivi/home/library/LibraryViewState.kt
  43. +2 −2 app/src/main/java/{me/banes/chris → app}/tivi/home/popular/PopularBuilder.kt
  44. +7 −7 app/src/main/java/{me/banes/chris → app}/tivi/home/popular/PopularShowsFragment.kt
  45. +11 −11 app/src/main/java/{me/banes/chris → app}/tivi/home/popular/PopularShowsViewModel.kt
  46. +2 −2 app/src/main/java/{me/banes/chris → app}/tivi/home/trending/TrendingBuilder.kt
  47. +9 −9 app/src/main/java/{me/banes/chris → app}/tivi/home/trending/TrendingShowsFragment.kt
  48. +11 −11 app/src/main/java/{me/banes/chris → app}/tivi/home/trending/TrendingShowsViewModel.kt
  49. +2 −2 app/src/main/java/{me/banes/chris → app}/tivi/home/watched/WatchedShowsBuilder.kt
  50. +7 −7 app/src/main/java/{me/banes/chris → app}/tivi/home/watched/WatchedShowsFragment.kt
  51. +11 −11 app/src/main/java/{me/banes/chris → app}/tivi/home/watched/WatchedShowsViewModel.kt
  52. +8 −8 app/src/main/java/{me/banes/chris → app}/tivi/inject/AppComponent.kt
  53. +15 −15 app/src/main/java/{me/banes/chris → app}/tivi/inject/AppModule.kt
  54. +5 −5 app/src/main/java/{me/banes/chris → app}/tivi/inject/NetworkModule.kt
  55. +1 −1 app/src/main/java/{me/banes/chris → app}/tivi/inject/TiviViewModelFactory.kt
  56. +1 −1 app/src/main/java/{me/banes/chris → app}/tivi/inject/ViewModelBuilder.kt
  57. +1 −1 app/src/main/java/{me/banes/chris → app}/tivi/inject/ViewModelKey.kt
  58. +1 −1 app/src/main/java/{me/banes/chris → app}/tivi/package-info.java
  59. +4 −4 app/src/main/java/{me/banes/chris → app}/tivi/showdetails/ShowDetailsActivity.kt
  60. +3 −3 app/src/main/java/{me/banes/chris → app}/tivi/showdetails/ShowDetailsBuilder.kt
  61. +3 −3 app/src/main/java/{me/banes/chris → app}/tivi/showdetails/ShowDetailsModule.kt
  62. +3 −3 app/src/main/java/{me/banes/chris → app}/tivi/showdetails/ShowDetailsNavigator.kt
  63. +4 −4 app/src/main/java/{me/banes/chris → app}/tivi/showdetails/ShowDetailsNavigatorViewModel.kt
  64. +2 −2 app/src/main/java/{me/banes/chris → app}/tivi/showdetails/details/DetailPosterBehavior.kt
  65. +14 −14 app/src/main/java/{me/banes/chris → app}/tivi/showdetails/details/ShowDetailsEpoxyController.kt
  66. +15 −15 app/src/main/java/{me/banes/chris → app}/tivi/showdetails/details/ShowDetailsFragment.kt
  67. +2 −2 app/src/main/java/{me/banes/chris → app}/tivi/showdetails/details/ShowDetailsFragmentBuilder.kt
  68. +13 −13 app/src/main/java/{me/banes/chris → app}/tivi/showdetails/details/ShowDetailsFragmentViewModel.kt
  69. +5 −5 app/src/main/java/{me/banes/chris → app}/tivi/showdetails/details/ShowDetailsViewState.kt
  70. +1 −1 app/src/main/java/{me/banes/chris → app}/tivi/ui/EndlessRecyclerViewScrollListener.kt
  71. +3 −3 app/src/main/java/{me/banes/chris → app}/tivi/ui/GenreStringer.kt
  72. +1 −1 app/src/main/java/{me/banes/chris → app}/tivi/ui/GlidePaletteListener.kt
  73. +4 −4 app/src/main/java/{me/banes/chris → app}/tivi/ui/ListItemSharedElementHelper.kt
  74. +1 −1 app/src/main/java/{me/banes/chris → app}/tivi/ui/MaxLinesToggleClickListener.kt
  75. +1 −1 app/src/main/java/{me/banes/chris → app}/tivi/ui/NoopApplyWindowInsetsListener.kt
  76. +1 −1 app/src/main/java/{me/banes/chris → app}/tivi/ui/ProgressTimeLatch.kt
  77. +2 −2 app/src/main/java/{me/banes/chris → app}/tivi/ui/RoundRectViewOutline.kt
  78. +1 −1 app/src/main/java/{me/banes/chris → app}/tivi/ui/SpacingItemDecorator.kt
  79. +1 −1 app/src/main/java/{me/banes/chris → app}/tivi/ui/StatusBarHeightBehavior.kt
  80. +7 −7 app/src/main/java/{me/banes/chris → app}/tivi/ui/databinding/TiviBindingAdapters.kt
  81. +1 −1 app/src/main/java/{me/banes/chris → app}/tivi/ui/epoxy/EpoxyExtensions.kt
  82. +1 −1 app/src/main/java/{me/banes/chris → app}/tivi/ui/epoxy/TotalSpanOverride.kt
  83. +1 −1 app/src/main/java/{me/banes/chris → app}/tivi/ui/transitions/BabySlide.kt
  84. +1 −1 app/src/main/java/{me/banes/chris → app}/tivi/ui/transitions/ColumnedChangeBounds.kt
  85. +1 −1 app/src/main/java/{me/banes/chris → app}/tivi/ui/transitions/DrawableAlphaProperty.kt
  86. +2 −2 app/src/main/java/{me/banes/chris → app}/tivi/ui/widget/BaselineGridTextView.kt
  87. +1 −1 app/src/main/java/{me/banes/chris → app}/tivi/util/AndroidNetworkDetector.kt
  88. +8 −8 app/src/main/java/{me/banes/chris → app}/tivi/util/EntryGridEpoxyController.kt
  89. +10 −10 app/src/main/java/{me/banes/chris → app}/tivi/util/EntryGridFragment.kt
  90. +8 −8 app/src/main/java/{me/banes/chris → app}/tivi/util/EntryViewModel.kt
  91. +3 −3 app/src/main/java/{me/banes/chris → app}/tivi/util/EntryViewState.kt
  92. +2 −2 app/src/main/java/{me/banes/chris → app}/tivi/util/GridToGridTransitioner.kt
  93. +1 −1 app/src/main/java/{me/banes/chris → app}/tivi/util/ScrimUtil.kt
  94. +1 −1 app/src/main/java/{me/banes/chris → app}/tivi/util/SingleLiveEvent.kt
  95. +1 −1 app/src/main/java/{me/banes/chris → app}/tivi/util/TiviViewModel.kt
  96. +1 −1 app/src/main/res/layout/activity_home.xml
  97. +1 −1 app/src/main/res/layout/activity_show_details.xml
  98. +1 −1 app/src/main/res/layout/fragment_show_details.xml
  99. +1 −1 app/src/main/res/layout/fragment_summary.xml
  100. +1 −1 app/src/main/res/layout/view_holder_details_badge.xml
  101. +1 −1 app/src/main/res/layout/view_holder_details_summary.xml
  102. +4 −4 app/src/main/res/layout/view_holder_details_title.xml
  103. +1 −1 app/src/main/res/layout/view_holder_poster_grid_item.xml
  104. +1 −1 app/src/main/res/layout/view_holder_season_episode_item.xml
  105. +1 −1 app/src/main/res/layout/view_holder_season_header.xml
  106. +1 −1 app/src/test/java/{me/banes/chris → app}/tivi/ExampleUnitTest.kt
  107. +1 −1 base-android/src/main/AndroidManifest.xml
  108. +1 −1 base-android/src/main/java/{me/banes/chris → app}/tivi/AppNavigator.kt
  109. +1 −1 base-android/src/main/java/{me/banes/chris → app}/tivi/SharedElementHelper.kt
  110. +1 −1 base-android/src/main/java/{me/banes/chris → app}/tivi/util/AndroidLogger.kt
  111. +1 −1 base/src/main/java/{me/banes/chris → app}/tivi/actions/ShowTasks.kt
  112. +1 −1 base/src/main/java/{me/banes/chris → app}/tivi/api/ItemWithIndex.kt
  113. +1 −1 base/src/main/java/{me/banes/chris → app}/tivi/extensions/CoroutineExtensions.kt
  114. +2 −2 base/src/main/java/{me/banes/chris → app}/tivi/extensions/RetrofitExtensions.kt
  115. +1 −1 base/src/main/java/{me/banes/chris → app}/tivi/extensions/RxExtensions.kt
  116. +1 −1 base/src/main/java/{me/banes/chris → app}/tivi/inject/Annotations.kt
  117. +1 −1 base/src/main/java/{me/banes/chris → app}/tivi/util/AppCoroutineDispatchers.kt
  118. +1 −1 base/src/main/java/{me/banes/chris → app}/tivi/util/AppRxSchedulers.kt
  119. +1 −1 base/src/main/java/{me/banes/chris → app}/tivi/util/Logger.kt
  120. +1 −1 base/src/main/java/{me/banes/chris → app}/tivi/util/NetworkDetector.kt
  121. +1 −1 base/src/main/java/{me/banes/chris → app}/tivi/util/RetryAfterTimeoutWithDelay.kt
  122. +1 −1 calls/src/main/java/{me/banes/chris → app}/tivi/calls/Call.kt
  123. +1 −1 calls/src/main/java/{me/banes/chris → app}/tivi/calls/PaginatedCall.kt
  124. +11 −11 calls/src/main/java/{me/banes/chris → app}/tivi/calls/PaginatedEntryCallImpl.kt
  125. +5 −5 calls/src/main/java/{me/banes/chris → app}/tivi/trakt/calls/FollowedShowsCall.kt
  126. +13 −13 calls/src/main/java/{me/banes/chris → app}/tivi/trakt/calls/PopularCall.kt
  127. +12 −12 calls/src/main/java/{me/banes/chris → app}/tivi/trakt/calls/RelatedShowsCall.kt
  128. +6 −6 calls/src/main/java/{me/banes/chris → app}/tivi/trakt/calls/ShowDetailsCall.kt
  129. +6 −6 calls/src/main/java/{me/banes/chris → app}/tivi/trakt/calls/ShowSeasonsCall.kt
  130. +12 −12 calls/src/main/java/{me/banes/chris → app}/tivi/trakt/calls/TrendingCall.kt
  131. +8 −8 calls/src/main/java/{me/banes/chris → app}/tivi/trakt/calls/UserMeCall.kt
  132. +12 −12 calls/src/main/java/{me/banes/chris → app}/tivi/trakt/calls/WatchedShowsCall.kt
  133. +835 −0 data-android/schemas/app.tivi.data.TiviDatabase/1.json
  134. +1 −1 data-android/src/main/AndroidManifest.xml
  135. +11 −11 data-android/src/main/java/{me/banes/chris → app}/tivi/data/DatabaseModule.kt
  136. +1 −1 data-android/src/main/java/{me/banes/chris → app}/tivi/data/RoomTransactionRunner.kt
  137. +22 −22 data-android/src/main/java/{me/banes/chris → app}/tivi/data/TiviDatabase.kt
  138. +1 −1 data-android/src/main/java/{me/banes/chris → app}/tivi/data/TiviTypeConverters.kt
  139. +1 −1 data/src/main/java/{me/banes/chris → app}/tivi/data/DatabaseTransactionRunner.kt
  140. +2 −2 data/src/main/java/{me/banes/chris → app}/tivi/data/Entry.kt
  141. +2 −2 data/src/main/java/{me/banes/chris → app}/tivi/data/daos/EntityDao.kt
  142. +2 −2 data/src/main/java/{me/banes/chris → app}/tivi/data/daos/EntityInserter.kt
  143. +3 −3 data/src/main/java/{me/banes/chris → app}/tivi/data/daos/EntryDao.kt
  144. +2 −2 data/src/main/java/{me/banes/chris → app}/tivi/data/daos/EpisodeWatchEntryDao.kt
  145. +2 −2 data/src/main/java/{me/banes/chris → app}/tivi/data/daos/EpisodesDao.kt
  146. +3 −3 data/src/main/java/{me/banes/chris → app}/tivi/data/daos/FollowedShowsDao.kt
  147. +3 −3 data/src/main/java/{me/banes/chris → app}/tivi/data/daos/PaginatedEntryDao.kt
  148. +3 −3 data/src/main/java/{me/banes/chris → app}/tivi/data/daos/PairEntryDao.kt
  149. +3 −3 data/src/main/java/{me/banes/chris → app}/tivi/data/daos/PopularDao.kt
  150. +3 −3 data/src/main/java/{me/banes/chris → app}/tivi/data/daos/RelatedShowsDao.kt
  151. +4 −4 data/src/main/java/{me/banes/chris → app}/tivi/data/daos/SeasonsDao.kt
  152. +2 −2 data/src/main/java/{me/banes/chris → app}/tivi/data/daos/TiviShowDao.kt
  153. +3 −3 data/src/main/java/{me/banes/chris → app}/tivi/data/daos/TrendingDao.kt
  154. +2 −2 data/src/main/java/{me/banes/chris → app}/tivi/data/daos/UserDao.kt
  155. +3 −3 data/src/main/java/{me/banes/chris → app}/tivi/data/daos/WatchedShowDao.kt
  156. +1 −1 data/src/main/java/{me/banes/chris → app}/tivi/data/entities/Episode.kt
  157. +1 −1 data/src/main/java/{me/banes/chris → app}/tivi/data/entities/EpisodeWatchEntry.kt
  158. +1 −1 data/src/main/java/{me/banes/chris → app}/tivi/data/entities/EpisodesWithWatches.kt
  159. +2 −2 data/src/main/java/{me/banes/chris → app}/tivi/data/entities/FollowedShowEntry.kt
  160. +1 −1 data/src/main/java/{me/banes/chris → app}/tivi/data/entities/Genre.kt
  161. +2 −2 data/src/main/java/{me/banes/chris → app}/tivi/data/entities/ListItem.kt
  162. +2 −2 data/src/main/java/{me/banes/chris → app}/tivi/data/entities/PopularEntry.kt
  163. +2 −2 data/src/main/java/{me/banes/chris → app}/tivi/data/entities/RelatedShowEntry.kt
  164. +1 −1 data/src/main/java/{me/banes/chris → app}/tivi/data/entities/Season.kt
  165. +1 −1 data/src/main/java/{me/banes/chris → app}/tivi/data/entities/SeasonWithEpisodes.kt
  166. +1 −1 data/src/main/java/{me/banes/chris → app}/tivi/data/entities/TiviEntity.kt
  167. +1 −1 data/src/main/java/{me/banes/chris → app}/tivi/data/entities/TiviShow.kt
  168. +1 −1 data/src/main/java/{me/banes/chris → app}/tivi/data/entities/TraktUser.kt
  169. +2 −2 data/src/main/java/{me/banes/chris → app}/tivi/data/entities/TrendingEntry.kt
  170. +2 −2 data/src/main/java/{me/banes/chris → app}/tivi/data/entities/WatchedShowEntry.kt
  171. +2 −2 data/src/main/java/{me/banes/chris → app}/tivi/data/sync/Syncer.kt
  172. +2 −2 seasons-fetcher/src/main/java/{me/banes/chris → app}/tivi/SeasonFetcher.kt
  173. +5 −5 show-fetcher/src/main/java/{me/banes/chris → app}/tivi/ShowFetcher.kt
  174. +1 −1 tasks/src/main/AndroidManifest.xml
  175. +7 −7 tasks/src/main/java/{me/banes/chris → app}/tivi/tasks/AddToFollowedShows.kt
  176. +1 −1 tasks/src/main/java/{me/banes/chris → app}/tivi/tasks/JobsCreator.kt
  177. +1 −1 tasks/src/main/java/{me/banes/chris → app}/tivi/tasks/JobsModule.kt
  178. +5 −5 tasks/src/main/java/{me/banes/chris → app}/tivi/tasks/RemoveFromFollowedShows.kt
  179. +2 −2 tasks/src/main/java/{me/banes/chris → app}/tivi/tasks/ShowTasksImpl.kt
  180. +5 −5 tasks/src/main/java/{me/banes/chris → app}/tivi/tasks/SyncAllFollowedShows.kt
  181. +12 −12 tasks/src/main/java/{me/banes/chris → app}/tivi/tasks/SyncShowWatchedProgress.kt
  182. +1 −1 tasks/src/main/java/{me/banes/chris → app}/tivi/tasks/TiviJobCreator.kt
  183. +6 −6 tmdb-show-fetcher/src/main/java/{me/banes/chris → app}/tivi/tmdb/TmdbShowFetcher.kt
  184. +1 −1 tmdb/src/main/java/{me/banes/chris → app}/tivi/tmdb/TmdbImageSizes.kt
  185. +1 −1 tmdb/src/main/java/{me/banes/chris → app}/tivi/tmdb/TmdbImageUrlProvider.kt
  186. +3 −3 tmdb/src/main/java/{me/banes/chris → app}/tivi/tmdb/TmdbManager.kt
  187. +1 −1 tmdb/src/main/java/{me/banes/chris → app}/tivi/tmdb/TmdbModule.kt
  188. +1 −1 trakt-auth/build.gradle
  189. +1 −1 trakt-auth/src/main/AndroidManifest.xml
  190. +1 −1 trakt-auth/src/main/java/{me/banes/chris → app}/tivi/trakt/TraktAuthModule.kt
  191. +1 −1 trakt-auth/src/main/java/{me/banes/chris → app}/tivi/trakt/TraktAuthState.kt
  192. +22 −0 trakt-auth/src/main/java/app/tivi/trakt/TraktConstants.kt
  193. +10 −10 trakt-auth/src/main/java/{me/banes/chris → app}/tivi/trakt/TraktManager.kt
  194. +0 −22 trakt-auth/src/main/java/me/banes/chris/tivi/trakt/TraktConstants.kt
  195. +10 −10 trakt-seasons-fetcher/src/main/java/{me/banes/chris → app}/tivi/trakt/TraktSeasonFetcher.kt
  196. +6 −6 trakt-show-fetcher/src/main/java/{me/banes/chris → app}/tivi/trakt/TraktShowFetcher.kt
@@ -36,7 +36,7 @@ app uses. That is currently [Trakt.tv](http://docs.trakt.apiary.io/),
[TMDb](https://developers.themoviedb.org/4/getting-started) and [Fabric](https://fabric.io) (for Crashlytics). You can find information about
how to gain access via the relevant links.

For Trakt.tv, set the redirect uri to `me.banes.chris.tivi://auth/oauth2callback`.
For Trakt.tv, set the redirect uri to `app.tivi://auth/oauth2callback`.

When you obtain the keys, you can provide them to the app by putting the following in the
`gradle.properties` file in your user home:
@@ -56,7 +56,7 @@ android {
}

defaultConfig {
applicationId "me.banes.chris.tivi"
applicationId "app.tivi"
minSdkVersion buildConfig.minSdk
targetSdkVersion buildConfig.targetSdk
versionCode 11
@@ -73,7 +73,7 @@ android {
buildConfigField "String", "TRAKT_CLIENT_SECRET", "\"" + propOrDef("TIVI_TRAKT_CLIENT_SECRET", "") + "\""
buildConfigField "String", "TMDB_API_KEY", "\"" + propOrDef("TIVI_TMDB_API_KEY", "") + "\""

manifestPlaceholders += ['appAuthRedirectScheme': 'me.banes.chris.tivi']
manifestPlaceholders += ['appAuthRedirectScheme': 'app.tivi']

// Crashlytics. Disabled by default
manifestPlaceholders += ["fabric-api-key": propOrDef("TIVI_FABRIC_API_KEY", "")]
@@ -105,8 +105,8 @@
-keepnames class com.uwetrottmann.tmdb2.entities.** { *; }

# Keep stuff for Room
-keep class me.banes.chris.tivi.data.TiviTypeConverters { *; }
-keep class me.banes.chris.tivi.data.entities.** { *; }
-keep class app.tivi.data.TiviTypeConverters { *; }
-keep class app.tivi.data.entities.** { *; }

# Glide
-keep public class * implements com.bumptech.glide.module.GlideModule
@@ -14,7 +14,7 @@
* limitations under the License.
*/

package me.banes.chris.tivi
package app.tivi

import android.support.test.espresso.Espresso.onView
import android.support.test.espresso.action.ViewActions.click
@@ -27,10 +27,10 @@ import android.support.test.espresso.matcher.ViewMatchers.withText
import android.support.test.filters.LargeTest
import android.support.test.rule.ActivityTestRule
import android.support.test.runner.AndroidJUnit4
import me.banes.chris.tivi.home.HomeActivity
import me.banes.chris.tivi.utils.bottomNavItemWithTitle
import me.banes.chris.tivi.utils.rotateLandscape
import me.banes.chris.tivi.utils.toolbarWithTitle
import app.tivi.home.HomeActivity
import app.tivi.utils.bottomNavItemWithTitle
import app.tivi.utils.rotateLandscape
import app.tivi.utils.toolbarWithTitle
import org.hamcrest.Matchers.allOf
import org.junit.Rule
import org.junit.Test
@@ -14,7 +14,7 @@
* limitations under the License.
*/

package me.banes.chris.tivi.utils
package app.tivi.utils

import android.content.ContextWrapper
import android.app.Activity
@@ -14,7 +14,7 @@
* limitations under the License.
*/

package me.banes.chris.tivi.utils
package app.tivi.utils

import android.support.annotation.IdRes
import android.support.annotation.StringRes
@@ -17,7 +17,7 @@
-->

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="me.banes.chris.tivi">
package="app.tivi">

<uses-permission android:name="android.permission.INTERNET" />

@@ -38,9 +38,9 @@
</intent-filter>

<intent-filter>
<action android:name="me.banes.chris.tivi.HANDLE_AUTHORIZATION_RESPONSE" />
<action android:name="app.tivi.HANDLE_AUTHORIZATION_RESPONSE" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="me.banes.chris.tivi" />
<data android:scheme="app.tivi" />
</intent-filter>
</activity>

@@ -14,7 +14,7 @@
* limitations under the License.
*/

package me.banes.chris.tivi
package app.tivi

import android.app.Activity
import android.content.Intent
@@ -14,7 +14,7 @@
* limitations under the License.
*/

package me.banes.chris.tivi
package app.tivi

import android.content.Context
import com.bumptech.glide.GlideBuilder
@@ -14,14 +14,14 @@
* limitations under the License.
*/

package me.banes.chris.tivi
package app.tivi

import android.app.Activity
import android.app.PendingIntent
import android.content.Context
import android.content.Intent
import me.banes.chris.tivi.showdetails.ShowDetailsActivity
import me.banes.chris.tivi.trakt.TraktConstants
import app.tivi.showdetails.ShowDetailsActivity
import app.tivi.trakt.TraktConstants

internal open class TiviAppNavigator(private val context: Context) : AppNavigator {
override fun provideAuthHandleResponseIntent(requestCode: Int): PendingIntent {
@@ -14,12 +14,12 @@
* limitations under the License.
*/

package me.banes.chris.tivi
package app.tivi

import dagger.android.AndroidInjector
import dagger.android.DaggerApplication
import me.banes.chris.tivi.appinitializers.AppInitializers
import me.banes.chris.tivi.inject.DaggerAppComponent
import app.tivi.appinitializers.AppInitializers
import app.tivi.inject.DaggerAppComponent
import javax.inject.Inject

class TiviApplication : DaggerApplication() {
@@ -14,7 +14,7 @@
* limitations under the License.
*/

package me.banes.chris.tivi
package app.tivi

import android.os.Bundle
import android.support.transition.TransitionInflater
@@ -14,7 +14,7 @@
* limitations under the License.
*/

package me.banes.chris.tivi.api
package app.tivi.api

/**
* Status of a resource that is provided to the UI.
@@ -14,7 +14,7 @@
* limitations under the License.
*/

package me.banes.chris.tivi.api
package app.tivi.api

/**
* A generic class that holds a value with its loading status.
@@ -14,11 +14,11 @@
* limitations under the License.
*/

package me.banes.chris.tivi.appinitializers
package app.tivi.appinitializers

import android.app.Application
import com.evernote.android.job.JobManager
import me.banes.chris.tivi.tasks.TiviJobCreator
import app.tivi.tasks.TiviJobCreator
import javax.inject.Inject

class AndroidJobInitializer @Inject constructor(
@@ -14,7 +14,7 @@
* limitations under the License.
*/

package me.banes.chris.tivi.appinitializers
package app.tivi.appinitializers

import android.app.Application

@@ -14,7 +14,7 @@
* limitations under the License.
*/

package me.banes.chris.tivi.appinitializers
package app.tivi.appinitializers

import android.app.Application

@@ -14,12 +14,12 @@
* limitations under the License.
*/

package me.banes.chris.tivi.appinitializers
package app.tivi.appinitializers

import android.app.Application
import com.jakewharton.threetenabp.AndroidThreeTen
import kotlinx.coroutines.experimental.launch
import me.banes.chris.tivi.util.AppCoroutineDispatchers
import app.tivi.util.AppCoroutineDispatchers
import org.threeten.bp.zone.ZoneRulesProvider
import javax.inject.Inject

@@ -14,10 +14,10 @@
* limitations under the License.
*/

package me.banes.chris.tivi.appinitializers
package app.tivi.appinitializers

import android.app.Application
import me.banes.chris.tivi.BuildConfig
import app.tivi.BuildConfig
import timber.log.Timber
import javax.inject.Inject

@@ -14,7 +14,7 @@
* limitations under the License.
*/

package me.banes.chris.tivi.extensions
package app.tivi.extensions

import android.arch.lifecycle.LifecycleOwner
import android.arch.lifecycle.LiveData
@@ -14,7 +14,7 @@
* limitations under the License.
*/

package me.banes.chris.tivi.extensions
package app.tivi.extensions

import android.content.Context
import android.graphics.Bitmap
@@ -23,7 +23,7 @@ import android.view.MenuItem
import android.widget.ImageView
import com.bumptech.glide.request.target.SimpleTarget
import com.bumptech.glide.request.transition.Transition
import me.banes.chris.tivi.GlideApp
import app.tivi.GlideApp

fun ImageView.loadFromUrl(imageUrl: String) {
GlideApp.with(this).load(imageUrl).into(this)
@@ -14,7 +14,7 @@
* limitations under the License.
*/

package me.banes.chris.tivi.home
package app.tivi.home

import android.arch.lifecycle.ViewModelProvider
import android.arch.lifecycle.ViewModelProviders
@@ -25,19 +25,19 @@ import android.support.v4.app.FragmentTransaction
import android.view.ViewGroup
import androidx.core.view.forEach
import kotlinx.android.synthetic.main.activity_home.*
import me.banes.chris.tivi.R
import me.banes.chris.tivi.SharedElementHelper
import me.banes.chris.tivi.TiviActivity
import me.banes.chris.tivi.extensions.observeK
import me.banes.chris.tivi.home.HomeActivityViewModel.NavigationItem.DISCOVER
import me.banes.chris.tivi.home.HomeActivityViewModel.NavigationItem.LIBRARY
import me.banes.chris.tivi.home.discover.DiscoverFragment
import me.banes.chris.tivi.home.library.LibraryFragment
import me.banes.chris.tivi.home.popular.PopularShowsFragment
import me.banes.chris.tivi.home.trending.TrendingShowsFragment
import me.banes.chris.tivi.home.watched.FollowedShowsFragment
import me.banes.chris.tivi.home.watched.WatchedShowsFragment
import me.banes.chris.tivi.trakt.TraktConstants
import app.tivi.R
import app.tivi.SharedElementHelper
import app.tivi.TiviActivity
import app.tivi.extensions.observeK
import app.tivi.home.HomeActivityViewModel.NavigationItem.DISCOVER
import app.tivi.home.HomeActivityViewModel.NavigationItem.LIBRARY
import app.tivi.home.discover.DiscoverFragment
import app.tivi.home.library.LibraryFragment
import app.tivi.home.popular.PopularShowsFragment
import app.tivi.home.trending.TrendingShowsFragment
import app.tivi.home.watched.FollowedShowsFragment
import app.tivi.home.watched.WatchedShowsFragment
import app.tivi.trakt.TraktConstants
import net.openid.appauth.AuthorizationException
import net.openid.appauth.AuthorizationResponse
import javax.inject.Inject
@@ -14,12 +14,12 @@
* limitations under the License.
*/

package me.banes.chris.tivi.home
package app.tivi.home

import android.arch.lifecycle.LiveData
import me.banes.chris.tivi.trakt.TraktManager
import me.banes.chris.tivi.util.TiviViewModel
import me.banes.chris.tivi.util.SingleLiveEvent
import app.tivi.trakt.TraktManager
import app.tivi.util.TiviViewModel
import app.tivi.util.SingleLiveEvent
import net.openid.appauth.AuthorizationException
import net.openid.appauth.AuthorizationResponse
import javax.inject.Inject
@@ -14,20 +14,20 @@
* limitations under the License.
*/

package me.banes.chris.tivi.home
package app.tivi.home

import android.arch.lifecycle.ViewModel
import dagger.Binds
import dagger.Module
import dagger.android.ContributesAndroidInjector
import dagger.multibindings.IntoMap
import me.banes.chris.tivi.home.discover.DiscoverBuilder
import me.banes.chris.tivi.home.library.LibraryBuilder
import me.banes.chris.tivi.home.popular.PopularBuilder
import me.banes.chris.tivi.home.trending.TrendingBuilder
import me.banes.chris.tivi.home.watched.FollowedShowsBuilder
import me.banes.chris.tivi.home.watched.WatchedShowsBuilder
import me.banes.chris.tivi.inject.ViewModelKey
import app.tivi.home.discover.DiscoverBuilder
import app.tivi.home.library.LibraryBuilder
import app.tivi.home.popular.PopularBuilder
import app.tivi.home.trending.TrendingBuilder
import app.tivi.home.watched.FollowedShowsBuilder
import app.tivi.home.watched.WatchedShowsBuilder
import app.tivi.inject.ViewModelKey

@Module
internal abstract class HomeBuilder {
@@ -14,18 +14,18 @@
* limitations under the License.
*/

package me.banes.chris.tivi.home
package app.tivi.home

import android.arch.lifecycle.ViewModelProvider
import android.os.Bundle
import android.view.Menu
import android.view.MenuItem
import android.view.View
import me.banes.chris.tivi.R
import me.banes.chris.tivi.TiviFragment
import me.banes.chris.tivi.extensions.loadIconFromUrl
import me.banes.chris.tivi.extensions.observeK
import me.banes.chris.tivi.trakt.TraktAuthState
import app.tivi.R
import app.tivi.TiviFragment
import app.tivi.extensions.loadIconFromUrl
import app.tivi.extensions.observeK
import app.tivi.trakt.TraktAuthState
import javax.inject.Inject

abstract class HomeFragment<VM : HomeFragmentViewModel> : TiviFragment() {
Oops, something went wrong.

0 comments on commit f26bc13

Please sign in to comment.