Skip to content

Commit

Permalink
Annotate data classes.
Browse files Browse the repository at this point in the history
  • Loading branch information
kizitonwose committed Jun 15, 2024
1 parent 03891c5 commit ef06e94
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
package com.kizitonwose.calendar.compose

import androidx.compose.runtime.Immutable
import com.kizitonwose.calendar.core.OutDateStyle
import java.time.DayOfWeek

@Immutable
internal data class CalendarInfo(
val indexCount: Int,
private val firstDayOfWeek: DayOfWeek? = null,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package com.kizitonwose.calendar.compose

import androidx.compose.runtime.Immutable
import java.io.Serializable

@Immutable
internal class VisibleItemState(
val firstVisibleItemIndex: Int = 0,
val firstVisibleItemScrollOffset: Int = 0,
Expand Down

0 comments on commit ef06e94

Please sign in to comment.