app
app
Common
Main
Activity
Components
Auto
Size
Icon()
Auto
Size
Icon
With
Painter()
Auto
Size
Text()
Custom
Action
Bar()
Custom
Bottom
Navigation()
Custom
Camara
On
Select
Item()
Custom
Top
Bar()
Config
navigation
Config()
top
Bar
Config()
domain.
model
Bottom
Nav
Item
Snap
Duration
Type
Top
Bar
Item
User
Utils
Features
That
Require
Location
Permission()
Feature
That
Requires
Camera
Permission()
Messages
Navigation()
Screens
Theme
Colors
top
Bar
Formatter()
Features.
feature_authentication
Authentication
View()
Bottom
Switch()
Presentation
Login
Screen()
Sign
Up
Screen()
Presentation.
components
Custom
Button()
Features.
feature_camera
Camara
Screen()
Presentation.
components
Simple
Camera
Preview()
Features.
feature_chat
Chat
Screen()
Data.
dataSource
dummy
Data
Chat
View
List()
Domain
Chat
Chat
View
Content
Type
Last
Content
Time
Type
Snap
Presentation.
components
Chat
Item()
Chat
Item
Preview()
Chat
Type
Item()
give
Color()
Features.
feature_memories
Memories
Screen()
Features.
feature_snap_map
check
And
Request
Permissions()
remember
Map
Lifecycle
Observer()
remember
Map
View
With
Lifecycle()
Snap
Map
Screen()
Presentation.
components
Bottom
Option
Item()
Map
Bottom
Navigation()
Features.
feature_spotlight
horizontal
Padding
Spotlight
Screen()
Data.
datasource
Dummy
Spotlight
Data
Domain.
model
Spotlight
Presentation.
components
Footer
User
Action()
Footer
User
Data()
Spotlight
Footer()
User
Action()
Video
Player()
Features.
feature_stories
Stories
Screen()
Data
mock
Data
Stories()
mock
Data
Subscription()
Domain.
model
Friends
Story
Story
Subscription
Presentation.
components
Friend
Stories()
Rectangular
Story
View()
Story
Item()
Subscription
View()
Presentation.
components.
story
Component
Stories()
Story
Image()
Ui.
theme
Blue800
Compose
Snap
Chat
UITheme()
Dark
Gray
Green200
Grey200
Light
Blue
Partial
Transparent
Purple
Red500
Shapes
Typography
Yellow
app
/
com.debanshu777.snapchatUIComposeClone.features.feature_spotlight.domain.model
/
Spotlight
Spotlight
data
class
Spotlight
(
id
:
Int
,
video
:
String
,
userImage
:
String
,
userName
:
String
,
isLiked
:
Boolean
,
likesCount
:
Int
,
comment
:
String
,
commentsCount
:
Int
)
Content copied to clipboard
Spotlight Data Class
Constructors
Functions
Properties
Constructors
Spotlight
Link copied to clipboard
fun
Spotlight
(
id
:
Int
,
video
:
String
,
userImage
:
String
,
userName
:
String
,
isLiked
:
Boolean
=
false
,
likesCount
:
Int
,
comment
:
String
,
commentsCount
:
Int
)
Content copied to clipboard
Create empty Spotlight
Functions
get
Video
Url
Link copied to clipboard
fun
getVideoUrl
(
)
:
Uri
Content copied to clipboard
Get video url
Properties
comment
Link copied to clipboard
val
comment
:
String
Content copied to clipboard
commentsCount
Link copied to clipboard
val
commentsCount
:
Int
Content copied to clipboard
id
Link copied to clipboard
val
id
:
Int
Content copied to clipboard
isLiked
Link copied to clipboard
val
isLiked
:
Boolean
=
false
Content copied to clipboard
likesCount
Link copied to clipboard
val
likesCount
:
Int
Content copied to clipboard
userImage
Link copied to clipboard
val
userImage
:
String
Content copied to clipboard
userName
Link copied to clipboard
val
userName
:
String
Content copied to clipboard