Skip to content

Feature/search#35

Open
Urdzik wants to merge 4 commits intodevelopfrom
feature/search
Open

Feature/search#35
Urdzik wants to merge 4 commits intodevelopfrom
feature/search

Conversation

@Urdzik
Copy link
Owner

@Urdzik Urdzik commented Sep 19, 2023

No description provided.

Comment on lines +31 to +40
private val api: MovieApi
) {

private val titleCategoryMap = hashMapOf(
1 to ("Сейчас в кино" to "now_playing"),
2 to ("Топ рейтинг" to "top_rated"),
3 to ("Популярное" to "popular"),
4 to ("Рекомендации" to "upcoming")
)

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ттт

Suggested change
private val api: MovieApi
) {
private val titleCategoryMap = hashMapOf(
1 to ("Сейчас в кино" to "now_playing"),
2 to ("Топ рейтинг" to "top_rated"),
3 to ("Популярное" to "popular"),
4 to ("Рекомендации" to "upcoming")
)
private val api: MovieApi
) {
private val titleCategoryMap = hashMapOf(
1 to ("Сейчас в кино" to "now_playing"),
2 to ("Топ " to "top_rated"),
3 to ("Популярное" to "popular"),
4 to ("Рекомендации" to "upcoming")
)

Comment on lines 9 to 15
import io.reactivex.rxjava3.android.schedulers.AndroidSchedulers
import io.reactivex.rxjava3.core.Flowable
import io.reactivex.rxjava3.core.Single
import io.reactivex.rxjava3.functions.BiFunction
import io.reactivex.rxjava3.schedulers.Schedulers
import javax.inject.Inject

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

отрлтлдж

Comment on lines +52 to +57
titleCategoryMap[index]?.first ?: "",
titleCategoryMap[index]?.second ?: "",
list.withGenres(genres)
)
}
}).observeOn(AndroidSchedulers.mainThread())
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

дюд

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants