Closed mhmd-android closed 11 months ago
Hey @mhmd-android
Thanks for your amazing PR! 😍
Recently we setup ktlint
and detekt
on the project's CI. Please run the following command in your Android studio and fix issues (double press ctrl
):
gradle lintKotlin
@mhmd-android Thanks for your another lovely PR! 🙌🏻 I hope received further PRs from you! 😍✌🏻
Explanation of Changes in Pull Request
showFavoriteEmptyState
has been added toMarketListContract.State
. This parameter is responsible for controlling the display and visibility of the empty state view when the favorite list is empty.The
MarketListViewModel
now incorporates theshowFavoriteEmptyState
property to manage the empty state view. When theshowFavoriteList
is true and the favorite list is empty, theEmptyStateAnimation
Composable is displayed to provide a visually appealing and informative message to users.The
EmptyStateAnimation
Composable itself has been introduced to display an animated message when the favorite list is empty. It utilizes Lottie animations to enhance the user experience.These changes collectively improve the user experience by providing meaningful feedback when the favorite list is empty.
and finally, this is a sample:
Please review the changes and let me know if you have any questions or need further clarification on any aspect of the code. Close #115
Best regards