File tree Expand file tree Collapse file tree 9 files changed +23
-9
lines changed
src/main/java/com/techlads/composetv/features/home
src/main/java/com/techlads/network Expand file tree Collapse file tree 9 files changed +23
-9
lines changed Original file line number Diff line number Diff line change 19
19
# If you keep the line number information, uncomment this to
20
20
# hide the original source file name.
21
21
#-renamesourcefileattribute SourceFile
22
+
23
+ -dontwarn org.slf4j.impl.StaticLoggerBinder
Original file line number Diff line number Diff line change @@ -74,14 +74,11 @@ fun HomeNestedScreen(
74
74
delay(200 )
75
75
focusRequester.requestFocus()
76
76
}
77
- }~ Z
77
+ }
78
78
},
79
79
)
80
80
.onFocusChanged {
81
- if (it.hasFocus) {
82
- // showCarousel.value = true
83
- // showTopPickDetails.value = false
84
- } else {
81
+ if (it.hasFocus.not ()) {
85
82
showCarousel.value = true
86
83
showTopPickDetails.value = false
87
84
}
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import com.techlads.composetv.features.home.leftmenu.model.MenuItem
7
7
import com.techlads.composetv.features.home.network.TmdbApiService
8
8
import com.techlads.composetv.features.home.network.data.Movie
9
9
import com.techlads.composetv.utils.toMutable
10
- import com.techlads.network.di. ApiResult
10
+ import com.techlads.network.ApiResult
11
11
import dagger.hilt.android.lifecycle.HiltViewModel
12
12
import kotlinx.coroutines.flow.MutableStateFlow
13
13
import kotlinx.coroutines.flow.StateFlow
Original file line number Diff line number Diff line change 1
1
package com.techlads.composetv.features.home.network
2
2
3
3
import com.techlads.composetv.features.home.network.data.MovieResponse
4
- import com.techlads.network.di. ApiResult
4
+ import com.techlads.network.ApiResult
5
5
import com.techlads.network.di.safeGet
6
6
import io.ktor.client.HttpClient
7
7
import io.ktor.client.request.header
Original file line number Diff line number Diff line change 18
18
19
19
# If you keep the line number information, uncomment this to
20
20
# hide the original source file name.
21
- #-renamesourcefileattribute SourceFile
21
+ #-renamesourcefileattribute SourceFile
22
+
23
+ -keep class com.techlads.network.** { *; }
24
+ -dontwarn java.lang.invoke.StringConcatFactory
Original file line number Diff line number Diff line change 1
- package com.techlads.network.di
1
+ package com.techlads.network
2
2
3
3
sealed class ApiResult <out T > {
4
4
data class Success <T >(val data : T ) : ApiResult<T>()
Original file line number Diff line number Diff line change 1
1
package com.techlads.network.di
2
2
3
+ import com.techlads.network.ApiResult
3
4
import com.techlads.network.BuildConfig
4
5
import dagger.Module
5
6
import dagger.Provides
Original file line number Diff line number Diff line change
1
+ /build
Original file line number Diff line number Diff line change
1
+ @Suppress(" DSL_SCOPE_VIOLATION" ) // TODO: Remove once KTIJ-19369 is fixed
2
+ plugins {
3
+ alias(libs.plugins.android.library)
4
+ alias(libs.plugins.kotlin.jvm)
5
+ }
6
+
7
+ java {
8
+ sourceCompatibility = JavaVersion .VERSION_17
9
+ targetCompatibility = JavaVersion .VERSION_17
10
+ }
You can’t perform that action at this time.
0 commit comments