- Add KDoc to all public Composable functions with parameter descriptions - Add inline comments for non-obvious algorithms (42-cell grid, pager mapping) - Add @Suppress reason comments for monthNumber deprecation - Document collapseProgress range and physical meaning - Add named constant comments for START_PAGE - Add Preview name to App() Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
19 lines
470 B
Kotlin
19 lines
470 B
Kotlin
package plus.rua.project
|
||
|
||
import androidx.compose.material3.MaterialTheme
|
||
import androidx.compose.runtime.Composable
|
||
import androidx.compose.ui.Modifier
|
||
import androidx.compose.ui.tooling.preview.Preview
|
||
import plus.rua.project.ui.CalendarMonthView
|
||
|
||
/**
|
||
* 应用入口 Composable,包裹 CalendarMonthView 并提供 MaterialTheme。
|
||
*/
|
||
@Composable
|
||
@Preview(name = "Calendar App")
|
||
fun App() {
|
||
MaterialTheme {
|
||
CalendarMonthView(modifier = Modifier)
|
||
}
|
||
}
|