Questions tagged [compose-android-vew]
4 questions
1
vote
1 answer
Constraints not working Jetpack compose for AndroidView
I'm designing a layout where we have some layout at top and an adview
at bottom of the screen. For this I'm using below code.
ConstraintLayout(
modifier = Modifier
.fillMaxSize()
…

Hussnain Hashmi
- 111
- 5
0
votes
1 answer
JetPack Compose AndroidView Pass to function
I am trying to convert below code in Jetpack compose UI,
searchResultsView = findViewById.(R.id.search_results_view).apply {
initialize(
…

Jitendra Prajapati
- 1,002
- 1
- 10
- 33
0
votes
2 answers
Compose not show when replace fragment container
I've worked on the FragmentContainerView activity with some fragments, in that fragment, I want to use Compose alongside XML using ComposeViewin the first fragment, but when I try to navigate from the second fragment and back to the first fragment,…

Dery Sudrajat
- 88
- 1
- 7
0
votes
0 answers
add webview with AndroidView in compose, come blank screen
i used below code for add webview from Androidview in Compose, becuase i need to add js interface to it.
`
@SuppressLint("SetJavaScriptEnabled")
@Composable
private fun Webview(screenVM: MainScreenVM = hiltViewModel()) {
if…

abbasalim
- 3,118
- 2
- 23
- 45