Feature module
The user generated content feature module includes all the presentation logic required. If you need to include this module, add it to your build.gradle
:
implementation ("com.poqstudio:content.usergeneratedcontent:$VERSION_NAME")
Architecture
UserGeneratedContentCarouselView
is the entry point to the user generated content feature and wrapsUserGeneratedContentCarousel
composable.UserGeneratedContentCarousel
is the composable that shows the user generated content carousel.UserGeneratedContentDetailsFragment
is the fragment for the details screen.UserGeneratedContentDetailsFragmentDelegate
is the fragment delegate for the details screen.UserGeneratedContentDetails
is the main composable for the details screen.UserGeneratedContentViewModel
is the ViewModel shared byUserGeneratedContentCarousel
andUserGeneratedContentDetails
. It is injected with activity scope.UiUserGeneratedContentState
is the state for the user generated content.ReportUserGeneratedContentFragment
is the fragment for the report content screen.ReportUserGeneratedContentFragmentDelegate
is the fragment delegate for the report content screen.ReportUserGeneratedContentScreen
is the main composable for the report content screen.ReportContentViewModel
is the ViewModel for the report content screen.UiReportContentState
is the state for the report content screen.
Composables breakdown
The user generated content screens are broken down into different composables: