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

No Data animation showing in case of empty data from API response #6

Merged

Conversation

AbdulRehmanNazar
Copy link
Contributor

No Data animation showing when there is empty data coming from API response.

Screen.Recording.2024-06-10.at.6.09.18.PM.mov

@@ -85,6 +86,9 @@ fun <T : TMDbItem> Search(
@StringRes resourceId: Int,
modifier: Modifier = Modifier
) {

Copy link
Owner

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()
}

Copy link
Owner

Choose a reason for hiding this comment

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

Space here

Copy link
Owner

@alirezaeiii alirezaeiii left a 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 =
Copy link
Owner

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 =
Copy link
Owner

Choose a reason for hiding this comment

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

And here.

@AbdulRehmanNazar
Copy link
Contributor Author

AbdulRehmanNazar commented Jun 11, 2024

@alirezaeiii
Thanks for your feedback. some of the spaces are auto generated by studio, now its reset.
please go ahead and check and let me know if there is any issue any
Love to solve them

@alirezaeiii alirezaeiii merged commit ed1d9df into alirezaeiii:main Jun 11, 2024
@alirezaeiii
Copy link
Owner

@alirezaeiii Thanks for your feedback. some of the spaces are auto generated by studio, not its reset. please go ahead and check and let me know if there is any issue any Love to solve them

Approved, Thanks again, Feel free to share any other new idea.

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