Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/search #35

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from
Open

Feature/search #35

wants to merge 4 commits into from

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