-
Notifications
You must be signed in to change notification settings - Fork 12
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
No Data animation showing in case of empty data from API response #6
No Data animation showing in case of empty data from API response #6
Conversation
@@ -85,6 +86,9 @@ fun <T : TMDbItem> Search( | |||
@StringRes resourceId: Int, | |||
modifier: Modifier = Modifier | |||
) { | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And space here.
@@ -98,6 +102,7 @@ fun <T : TMDbItem> Search( | |||
) { | |||
AnimatedSearch() | |||
} | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Space here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Your idea is very interesting. Thank you for your contribution. If you have any other idea, please feel free to open a PR.
@@ -58,8 +59,10 @@ object Deps { | |||
const val composeUiTooling = "androidx.compose.ui:ui-tooling:${Versions.compose}" | |||
const val composeUiToolingPreview = "androidx.compose.ui:ui-tooling-preview:${Versions.compose}" | |||
const val navigationCompose = "androidx.navigation:navigation-compose:${Versions.nav_version}" | |||
const val composeConstraintLayout = "androidx.constraintlayout:constraintlayout-compose:${Versions.constraint_layout}" | |||
const val iconExtended = "androidx.compose.material:material-icons-extended:${Versions.icon_extended}" | |||
const val composeConstraintLayout = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there any reason you add a space here?
@@ -75,8 +78,10 @@ object Deps { | |||
|
|||
// Core | |||
const val lifecycleLiveData = "androidx.lifecycle:lifecycle-livedata-ktx:${Versions.lifecycle}" | |||
const val lifecycleViewModel = "androidx.lifecycle:lifecycle-viewmodel-ktx:${Versions.lifecycle}" | |||
const val lifecycleSavedstate = "androidx.lifecycle:lifecycle-viewmodel-savedstate:${Versions.lifecycle}" | |||
const val lifecycleViewModel = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And here.
@alirezaeiii |
Approved, Thanks again, Feel free to share any other new idea. |
No Data animation showing when there is empty data coming from API response.
Screen.Recording.2024-06-10.at.6.09.18.PM.mov