Skip to content

Commit

Permalink
Update compileSdk; Update AndroidKit dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
rostikjoystick committed Feb 1, 2022
1 parent 81f6f5b commit 7935e38
Show file tree
Hide file tree
Showing 282 changed files with 384 additions and 383 deletions.
2 changes: 1 addition & 1 deletion androidsvg/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apply plugin: 'com.android.library'

android {
compileSdkVersion 30
compileSdkVersion versions.compileSdk
buildToolsVersion versions.buildTools

defaultConfig {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.stepik.android.domain.debug.model

import ru.nobird.android.core.model.Identifiable
import ru.nobird.app.core.model.Identifiable

data class SplitTestData(
val splitTestName: String,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.stepik.android.presentation.debug

import ru.nobird.android.presentation.redux.container.ReduxViewContainer
import ru.nobird.app.presentation.redux.container.ReduxViewContainer
import ru.nobird.android.view.redux.viewmodel.ReduxViewModel

class DebugViewModel(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package org.stepik.android.presentation.debug

import ru.nobird.android.presentation.redux.container.ReduxViewContainer
import ru.nobird.android.view.redux.viewmodel.ReduxViewModel
import ru.nobird.app.presentation.redux.container.ReduxViewContainer

class InAppPurchasesViewModel(
reduxViewContainer: ReduxViewContainer<InAppPurchasesFeature.State, InAppPurchasesFeature.Message, InAppPurchasesFeature.Action.ViewAction>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.stepik.android.presentation.debug

import ru.nobird.android.presentation.redux.container.ReduxViewContainer
import ru.nobird.app.presentation.redux.container.ReduxViewContainer
import ru.nobird.android.view.redux.viewmodel.ReduxViewModel

class SplitTestsViewModel(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import org.stepik.android.domain.debug.model.EndpointConfig
import org.stepik.android.presentation.debug.DebugFeature.State
import org.stepik.android.presentation.debug.DebugFeature.Message
import org.stepik.android.presentation.debug.DebugFeature.Action
import ru.nobird.android.presentation.redux.reducer.StateReducer
import ru.nobird.app.presentation.redux.reducer.StateReducer
import javax.inject.Inject

class DebugReducer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ package org.stepik.android.presentation.debug.reducer
import org.stepik.android.presentation.debug.InAppPurchasesFeature.State
import org.stepik.android.presentation.debug.InAppPurchasesFeature.Message
import org.stepik.android.presentation.debug.InAppPurchasesFeature.Action
import ru.nobird.android.core.model.mutate

import ru.nobird.android.presentation.redux.reducer.StateReducer
import ru.nobird.app.presentation.redux.reducer.StateReducer
import javax.inject.Inject

class InAppPurchasesReducer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package org.stepik.android.presentation.debug.reducer
import org.stepik.android.presentation.debug.SplitTestsFeature.State
import org.stepik.android.presentation.debug.SplitTestsFeature.Message
import org.stepik.android.presentation.debug.SplitTestsFeature.Action
import ru.nobird.android.core.model.mutate
import ru.nobird.android.presentation.redux.reducer.StateReducer
import ru.nobird.app.core.model.mutate
import ru.nobird.app.presentation.redux.reducer.StateReducer
import javax.inject.Inject

class SplitTestsReducer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import org.stepik.android.presentation.debug.InAppPurchasesFeature
import org.stepik.android.presentation.debug.InAppPurchasesViewModel
import org.stepik.android.view.debug.ui.adapter.delegate.InAppPurchaseAdapterDelegate
import org.stepik.android.view.ui.delegate.ViewStateDelegate
import ru.nobird.android.presentation.redux.container.ReduxView
import ru.nobird.app.presentation.redux.container.ReduxView
import ru.nobird.android.ui.adapters.DefaultDelegateAdapter
import ru.nobird.android.view.redux.ui.extension.reduxViewModel
import javax.inject.Inject
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import org.stepik.android.domain.debug.model.SplitTestData
import org.stepik.android.presentation.debug.SplitTestsFeature
import org.stepik.android.presentation.debug.SplitTestsViewModel
import org.stepik.android.view.debug.ui.adapter.delegate.SplitTestDataAdapterDelegate
import ru.nobird.android.presentation.redux.container.ReduxView
import ru.nobird.app.presentation.redux.container.ReduxView
import ru.nobird.android.ui.adapters.DefaultDelegateAdapter
import ru.nobird.android.view.redux.ui.extension.reduxViewModel
import javax.inject.Inject
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import org.stepic.droid.util.copyTextToClipboard
import org.stepik.android.presentation.debug.DebugFeature
import org.stepik.android.presentation.debug.DebugViewModel
import org.stepik.android.view.ui.delegate.ViewStateDelegate
import ru.nobird.android.presentation.redux.container.ReduxView
import ru.nobird.app.presentation.redux.container.ReduxView
import ru.nobird.android.view.redux.ui.extension.reduxViewModel
import javax.inject.Inject
import android.content.Intent
Expand All @@ -26,7 +26,8 @@ import org.stepik.android.view.debug.ui.activity.InAppPurchasesActivity
import org.stepik.android.view.debug.ui.dialog.SplitTestsDialogFragment
import ru.nobird.android.view.base.ui.extension.showIfNotExists

class DebugFragment : Fragment(R.layout.fragment_debug), ReduxView<DebugFeature.State, DebugFeature.Action.ViewAction> {
class DebugFragment : Fragment(R.layout.fragment_debug),
ReduxView<DebugFeature.State, DebugFeature.Action.ViewAction> {
companion object {
fun newInstance(): Fragment =
DebugFragment()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import org.stepik.android.presentation.debug.DebugFeature
import org.stepik.android.presentation.debug.DebugViewModel
import org.stepik.android.presentation.debug.dispatcher.DebugActionDispatcher
import org.stepik.android.presentation.debug.reducer.DebugReducer
import ru.nobird.android.presentation.redux.container.wrapWithViewContainer
import ru.nobird.android.presentation.redux.dispatcher.wrapWithActionDispatcher
import ru.nobird.android.presentation.redux.feature.ReduxFeature
import ru.nobird.app.presentation.redux.container.wrapWithViewContainer
import ru.nobird.app.presentation.redux.dispatcher.wrapWithActionDispatcher
import ru.nobird.app.presentation.redux.feature.ReduxFeature

@Module
object DebugPresentationModule {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import org.stepik.android.presentation.debug.InAppPurchasesFeature
import org.stepik.android.presentation.debug.InAppPurchasesViewModel
import org.stepik.android.presentation.debug.dispatcher.InAppPurchasesActionDispatcher
import org.stepik.android.presentation.debug.reducer.InAppPurchasesReducer
import ru.nobird.android.presentation.redux.container.wrapWithViewContainer
import ru.nobird.android.presentation.redux.dispatcher.wrapWithActionDispatcher
import ru.nobird.android.presentation.redux.feature.ReduxFeature
import ru.nobird.app.presentation.redux.container.wrapWithViewContainer
import ru.nobird.app.presentation.redux.dispatcher.wrapWithActionDispatcher
import ru.nobird.app.presentation.redux.feature.ReduxFeature

@Module
object InAppPurchasesPresentationModule {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import org.stepik.android.presentation.debug.SplitTestsFeature
import org.stepik.android.presentation.debug.SplitTestsViewModel
import org.stepik.android.presentation.debug.dispatcher.SplitTestsActionDispatcher
import org.stepik.android.presentation.debug.reducer.SplitTestsReducer
import ru.nobird.android.presentation.redux.container.wrapWithViewContainer
import ru.nobird.android.presentation.redux.dispatcher.wrapWithActionDispatcher
import ru.nobird.android.presentation.redux.feature.ReduxFeature
import ru.nobird.app.presentation.redux.container.wrapWithViewContainer
import ru.nobird.app.presentation.redux.dispatcher.wrapWithActionDispatcher
import ru.nobird.app.presentation.redux.feature.ReduxFeature

@Module
object SplitTestsPresentationModule {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.stepic.droid.code.data

import ru.nobird.android.core.model.isNotOrdered
import ru.nobird.app.core.model.isNotOrdered

/**
* Class for fast search strings with common prefix
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import org.stepic.droid.base.FragmentActivityBase
import org.stepic.droid.features.stories.ui.delegate.StoriesActivityDelegate
import org.stepik.android.presentation.story.StoryFeature
import org.stepik.android.view.story.viewmodel.StoryViewModel
import ru.nobird.android.presentation.redux.container.ReduxView
import ru.nobird.app.presentation.redux.container.ReduxView
import ru.nobird.android.stories.ui.custom.DismissableLayout
import ru.nobird.android.view.redux.ui.extension.reduxViewModel
import javax.inject.Inject
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import org.stepic.droid.R
import org.stepic.droid.analytic.AmplitudeAnalytic
import org.stepic.droid.analytic.Analytic
import org.stepik.android.domain.story.model.StoryReaction
import ru.nobird.android.core.model.safeCast
import ru.nobird.app.core.model.safeCast
import ru.nobird.android.stories.model.Story
import ru.nobird.android.stories.ui.adapter.StoriesPagerAdapter
import ru.nobird.android.stories.ui.custom.DismissableLayout
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import org.stepik.android.domain.progress.repository.ProgressRepository
import org.stepik.android.domain.section.repository.SectionRepository
import org.stepik.android.domain.unit.repository.UnitRepository
import org.stepik.android.model.Unit
import ru.nobird.android.core.model.mapToLongArray
import ru.nobird.app.core.model.mapToLongArray
import javax.inject.Inject

@AppSingleton
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package org.stepic.droid.persistence.model

import org.stepik.android.model.Course
import ru.nobird.android.core.model.Identifiable
import ru.nobird.app.core.model.Identifiable

data class DownloadItem(
val course: Course,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import org.stepic.droid.util.AppConstants
import org.stepik.android.model.Progressable
import org.stepik.android.model.Step
import org.stepik.android.model.Video
import ru.nobird.android.core.model.Identifiable
import ru.nobird.app.core.model.Identifiable

@Parcelize
data class StepPersistentWrapper(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import io.reactivex.Completable
import io.reactivex.Maybe
import io.reactivex.Single
import org.stepic.droid.storage.dao.IDao
import ru.nobird.android.core.model.PagedList
import ru.nobird.app.core.model.PagedList
import org.stepik.android.cache.certificates.structure.DbStructureCertificate
import org.stepik.android.data.certificate.source.CertificateCacheDataSource
import org.stepik.android.model.Certificate
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import org.stepik.android.data.course_collection.source.CourseCollectionCacheDat
import org.stepik.android.domain.course_collection.model.CourseCollectionQuery
import org.stepik.android.model.CourseCollection
import org.stepik.android.model.PlatformType
import ru.nobird.android.core.model.mapOfNotNull
import ru.nobird.app.core.model.mapOfNotNull
import javax.inject.Inject

class CourseCollectionCacheDataSourceImpl
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import org.stepic.droid.storage.dao.IDao
import org.stepik.android.cache.course_payments.structure.DbStructureCoursePayments
import org.stepik.android.data.course_payments.source.CoursePaymentsCacheDataSource
import org.stepik.android.domain.course_payments.model.CoursePayment
import ru.nobird.android.core.model.mapOfNotNull
import ru.nobird.app.core.model.mapOfNotNull
import javax.inject.Inject

class CoursePaymentsCacheDataSourceImpl
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import io.reactivex.Completable
import io.reactivex.Maybe
import io.reactivex.Single
import org.stepic.droid.storage.dao.IDao
import ru.nobird.android.core.model.PagedList
import ru.nobird.app.core.model.PagedList
import org.stepik.android.cache.course_reviews.structure.DbStructureCourseReview
import org.stepik.android.data.course_reviews.source.CourseReviewsCacheDataSource
import org.stepik.android.domain.course_reviews.model.CourseReview
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import org.stepik.android.cache.user_courses.structure.DbStructureUserCourse
import org.stepik.android.data.user_courses.source.UserCoursesCacheDataSource
import org.stepik.android.domain.course_list.model.UserCourseQuery
import org.stepik.android.domain.user_courses.model.UserCourse
import ru.nobird.android.core.model.mapOfNotNull
import ru.nobird.app.core.model.mapOfNotNull
import javax.inject.Inject

class UserCoursesCacheDataSourceImpl
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package org.stepik.android.data.base.repository.delegate
import io.reactivex.Completable
import io.reactivex.Single
import org.stepik.android.domain.base.DataSourceType
import ru.nobird.android.core.model.Identifiable
import ru.nobird.app.core.model.Identifiable
import ru.nobird.android.domain.rx.doCompletableOnSuccess
import ru.nobird.android.domain.rx.requireSize

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import io.reactivex.Completable
import io.reactivex.Maybe
import io.reactivex.Single
import org.stepik.android.domain.base.DataSourceType
import ru.nobird.android.core.model.Identifiable
import ru.nobird.app.core.model.Identifiable
import ru.nobird.android.domain.rx.doCompletableOnSuccess

class SingleRepositoryDelegate<ID, Item : Identifiable<ID>>(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package org.stepik.android.data.certificate.repository

import io.reactivex.Maybe
import io.reactivex.Single
import ru.nobird.android.core.model.PagedList
import ru.nobird.app.core.model.PagedList
import ru.nobird.android.domain.rx.doCompletableOnSuccess
import org.stepik.android.data.certificate.source.CertificateCacheDataSource
import org.stepik.android.data.certificate.source.CertificateRemoteDataSource
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package org.stepik.android.data.certificate.source
import io.reactivex.Completable
import io.reactivex.Maybe
import io.reactivex.Single
import ru.nobird.android.core.model.PagedList
import ru.nobird.app.core.model.PagedList
import org.stepik.android.model.Certificate

interface CertificateCacheDataSource {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package org.stepik.android.data.certificate.source

import io.reactivex.Maybe
import io.reactivex.Single
import ru.nobird.android.core.model.PagedList
import ru.nobird.app.core.model.PagedList
import org.stepik.android.model.Certificate

interface CertificateRemoteDataSource {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package org.stepik.android.data.course.repository

import io.reactivex.Completable
import io.reactivex.Single
import ru.nobird.android.core.model.PagedList
import ru.nobird.app.core.model.PagedList
import org.stepik.android.data.base.repository.delegate.ListRepositoryDelegate
import org.stepik.android.data.course.source.CourseCacheDataSource
import org.stepik.android.data.course.source.CourseRemoteDataSource
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package org.stepik.android.data.course.source

import io.reactivex.Single
import ru.nobird.android.core.model.PagedList
import ru.nobird.app.core.model.PagedList
import org.stepik.android.domain.course_list.model.CourseListQuery
import org.stepik.android.model.Course

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import io.reactivex.Single
import org.stepik.android.data.course_revenue.source.CourseBenefitByMonthsRemoteDataSource
import org.stepik.android.domain.course_revenue.model.CourseBenefitByMonth
import org.stepik.android.domain.course_revenue.repository.CourseBenefitByMonthsRepository
import ru.nobird.android.core.model.PagedList
import ru.nobird.app.core.model.PagedList
import javax.inject.Inject

class CourseBenefitByMonthsRepositoryImpl
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import io.reactivex.Single
import org.stepik.android.data.course_revenue.source.CourseBenefitsRemoteDataSource
import org.stepik.android.domain.course_revenue.model.CourseBenefit
import org.stepik.android.domain.course_revenue.repository.CourseBenefitsRepository
import ru.nobird.android.core.model.PagedList
import ru.nobird.app.core.model.PagedList
import javax.inject.Inject

class CourseBenefitsRepositoryImpl
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package org.stepik.android.data.course_revenue.source

import io.reactivex.Single
import org.stepik.android.domain.course_revenue.model.CourseBenefitByMonth
import ru.nobird.android.core.model.PagedList
import ru.nobird.app.core.model.PagedList

interface CourseBenefitByMonthsRemoteDataSource {
fun getCourseBenefitByMonths(courseId: Long, page: Int = 1): Single<PagedList<CourseBenefitByMonth>>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package org.stepik.android.data.course_revenue.source

import io.reactivex.Single
import org.stepik.android.domain.course_revenue.model.CourseBenefit
import ru.nobird.android.core.model.PagedList
import ru.nobird.app.core.model.PagedList

interface CourseBenefitsRemoteDataSource {
fun getCourseBenefits(courseId: Long, page: Int = 1): Single<PagedList<CourseBenefit>>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package org.stepik.android.data.course_reviews.repository
import io.reactivex.Completable
import io.reactivex.Maybe
import io.reactivex.Single
import ru.nobird.android.core.model.PagedList
import ru.nobird.app.core.model.PagedList
import ru.nobird.android.domain.rx.doCompletableOnSuccess
import org.stepik.android.data.course_reviews.source.CourseReviewsCacheDataSource
import org.stepik.android.data.course_reviews.source.CourseReviewsRemoteDataSource
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package org.stepik.android.data.course_reviews.source
import io.reactivex.Completable
import io.reactivex.Maybe
import io.reactivex.Single
import ru.nobird.android.core.model.PagedList
import ru.nobird.app.core.model.PagedList
import org.stepik.android.domain.course_reviews.model.CourseReview

interface CourseReviewsCacheDataSource {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package org.stepik.android.data.course_reviews.source
import io.reactivex.Completable
import io.reactivex.Maybe
import io.reactivex.Single
import ru.nobird.android.core.model.PagedList
import ru.nobird.app.core.model.PagedList
import org.stepik.android.domain.course_reviews.model.CourseReview

interface CourseReviewsRemoteDataSource {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import org.stepic.droid.persistence.model.Structure
import org.stepic.droid.persistence.model.SystemDownloadRecord
import org.stepic.droid.persistence.storage.dao.PersistentItemDao
import org.stepic.droid.persistence.storage.dao.SystemDownloadsDao
import ru.nobird.android.core.model.mapToLongArray
import ru.nobird.app.core.model.mapToLongArray
import org.stepic.droid.util.plus
import org.stepik.android.data.download.source.DownloadCacheDataSource
import org.stepik.android.domain.course.repository.CourseRepository
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import io.reactivex.Single
import org.stepic.droid.model.NotificationCategory
import org.stepic.droid.notifications.model.Notification
import org.stepic.droid.notifications.model.NotificationStatuses
import ru.nobird.android.core.model.PagedList
import ru.nobird.app.core.model.PagedList
import org.stepik.android.data.notification.source.NotificationCacheDataSource
import org.stepik.android.data.notification.source.NotificationRemoteDataSource
import org.stepik.android.domain.notification.repository.NotificationRepository
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import io.reactivex.Single
import org.stepic.droid.model.NotificationCategory
import org.stepic.droid.notifications.model.Notification
import org.stepic.droid.notifications.model.NotificationStatuses
import ru.nobird.android.core.model.PagedList
import ru.nobird.app.core.model.PagedList

interface NotificationRemoteDataSource {
fun putNotifications(vararg notificationIds: Long, isRead: Boolean): Completable
Expand Down
Loading

0 comments on commit 7935e38

Please sign in to comment.