Merge branch 'github/main'

pull/237/head
Automerger 2 years ago
commit 990f95cfe2

@ -183,7 +183,7 @@ Using the above modularization strategy, the Now in Android app has the followin
</td> </td>
<td>Making network requests and handling responses from a remote data source. <td>Making network requests and handling responses from a remote data source.
</td> </td>
<td><code>RetrofitNiANetworkApi</code> <td><code>RetrofitNiaNetworkApi</code>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -209,7 +209,7 @@ Using the above modularization strategy, the Now in Android app has the followin
</td> </td>
<td>Local database storage using Room. <td>Local database storage using Room.
</td> </td>
<td><code>NiADatabase</code><br> <td><code>NiaDatabase</code><br>
<code>DatabaseMigrations</code><br> <code>DatabaseMigrations</code><br>
<code>Dao</code> classes <code>Dao</code> classes
</td> </td>

@ -389,8 +389,8 @@ private fun SingleTopicButton(
@Composable @Composable
fun TopicIcon( fun TopicIcon(
modifier: Modifier = Modifier, imageUrl: String,
imageUrl: String modifier: Modifier = Modifier
) { ) {
AsyncImage( AsyncImage(
// TODO b/228077205, show loading image visual instead of static placeholder // TODO b/228077205, show loading image visual instead of static placeholder

@ -49,9 +49,9 @@ import com.google.samples.apps.nowinandroid.core.ui.JankMetricDisposableEffect
@OptIn(ExperimentalLifecycleComposeApi::class) @OptIn(ExperimentalLifecycleComposeApi::class)
@Composable @Composable
fun InterestsRoute( fun InterestsRoute(
modifier: Modifier = Modifier,
navigateToAuthor: (String) -> Unit, navigateToAuthor: (String) -> Unit,
navigateToTopic: (String) -> Unit, navigateToTopic: (String) -> Unit,
modifier: Modifier = Modifier,
viewModel: InterestsViewModel = hiltViewModel() viewModel: InterestsViewModel = hiltViewModel()
) { ) {
val uiState by viewModel.uiState.collectAsStateWithLifecycle() val uiState by viewModel.uiState.collectAsStateWithLifecycle()

Loading…
Cancel
Save