Slide 12
Slide 12 text
5. Hello, Compose!
class PlantDetailFragment : Fragment()
{
..
.
override fun onCreateView(...): View?
{
val binding = DataBindingUtil.inflate<...>
(
inflater, R.layout.fragment_plant_detail, container, fals
e
).apply
{
..
.
composeView.setContent {
MaterialTheme
{
PlantDetailDescription(
)
}
}
}
..
.
}
}
Compose World