DroidKaigi / conference-app-2021

The Official App for DroidKaigi 2021
https://droidkaigi.jp/
Apache License 2.0
641 stars 181 forks source link

Make FeedScreen Preview when end DroidKaigi 2021 #718

Closed takahirom closed 3 years ago

takahirom commented 3 years ago

Kind (Required)

https://github.com/DroidKaigi/conference-app-2021/blob/ca0bc3d089364063905942370bf942e8a7561c3f/uicomponent-compose/feed/src/main/java/io/github/droidkaigi/feeder/feed/FeedScreen.kt#L314

@Composable
private fun FeedList(
..., 
  val isDroidKaigi2021End = remember { mutableStateOf(DroidKaigi2021.isArticleEnd()) }
) {
@Preview
fun ...() {
  FeedList(..., true)
}

Links

-

aqua-ix commented 3 years ago

I'd like to try this issue🙋‍♂

takahirom commented 3 years ago

Thanks!

aqua-ix commented 3 years ago

Sorry I made you wait. I created a PR for this issue