Learning Android Development

Jetpack Compose Enables JSON Defined View Layout

Making a more dynamic layout from the server payload

Photo by Hal Gatewood on Unsplash

Conventionally in Android, we use RecyclerView to show a list of items. Each item is normally layout in the same structure through the same ViewHolder. In order to have different structures of view, we’ll create different…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store