Explore tweets tagged as #AndroidView
Jetpack Compose Interview Question: Can we use traditional Android Views and Compose together? Answer: - Yes, we can use ComposeView to render Compose UI within traditional Android views. - We can also use AndroidView to render traditional views in our Compose UI. Check the
2
23
125
In Jetpack Compose, if you use AndroidView in lists, don't forget to add onClear/onReset to support a view pool. It helps avoid unnecessary re-inflation while scrolling. (Works similarly to RecyclerViewPool)
3
23
181
#AndroidDev, Exciting news if you get bored of using AndroidView to use #calendar in #JetpackCompose, Material 3 comes with an important component at least for me 😁, The date picker component allows you to use a compose calendar view with smooth and lovely behavior 🚀!
0
7
43
Actually, there's no such thing as "pure" Jetpack Compose. Some developers might feel uneasy about using `AndroidView` or mixing traditional views with Compose, but the reality is that Compose UI (Android), such as setContent, Popup, Dialog, and much more, are built on top of
4
13
144
Did you know that you can also use Composable Previews with XML Views? Just "wrap" them inside a Composable AndroidView 👇 #AndroidDev
1
4
30
Jetpack Compose Interview Question: Can we use traditional Android Views and Compose together? Answer: - Yes, we can use ComposeView to render Compose UI within traditional Android views. - We can also use AndroidView to render traditional views in our Compose UI. #AndroidDev
0
4
28
De vez en cuando recomiendo dar una 👀 a la guia de #MD3, Google va añadiendo cosillas, por ejemplo, ahora se puede hacer un botón que solo tenga un icono, xml de #AndroidView
0
0
0
"i'm using this RxJava subscription inside a DisposableEffect, to feed the RecyclerView.Adapter used by a RecyclerView in an AndroidView {} composable in a ComposeView in a Fragment" Android development in 2024 (yes, I did just do this, and it works) It's kinda interesting tbh
6
1
36
Jetpack Compose Interview Question: Can we use traditional Android Views and Compose together? - Yes, we can use ComposeView to render Compose UI within traditional Android views - We can also use AndroidView to render traditional views in our Compose UI Check the code below:
2
4
35
In this talk, István will present how he and his team built a design system with Compose, what they gained by reimplementing components instead of wrapping existing Views in AndroidView, and how they managed to support the still-View-based parts of their app with Compose.
0
0
9
新笔记《Flutter AndroidView》 https://t.co/hWNkCCOXfT AndroidView 是开发者使用 Virtual displays 的开端,这个 Flutter 类也是实现 Flutter 侧 Virtual displays 机制的核心。在本文中,将介绍 AndroidView 的底层实现原理。
0
0
2
The fix: Always create and manage your View within AndroidView's factory:
1
0
3
NavHostで遷移したときに、AndroidViewで構成されたテキストフィールドにフォーカスが当たらない&キーボード表示されない問題 1. 明示的にshowKeyboardさせる関数を用意 2. requestFocusと1.をcoroutineScope内で実行 この両方をやって、ようやく無事に動作するようになりました⌨️ #Compose
1
0
6
Fragment 1.8.0-alpha01 provides a new AndroidFragment composable - think AndroidView, but for a Fragment. This fixes a number of unfixable issues with the previously recommended AndroidViewBinding solution - try it out! https://t.co/eILEkWGxo6
2
1
12
CameraX使うの地味に苦戦している AndroidViewでラップして、意地でもComposeで書こうとしてるのが悪いんですが😇 この前もshimmer付きSkeleton loadingをライブラリ使わずに自分で書く!!って意地張って沼ったのに、何も学んでない(ライブラリ使ったら20秒で出来た)
0
0
5
この問題、ぜひ皆々様の知見おしえてください🙇♂️ ←AndroidView →Compose
ComposeのSelectionContainerだとCopyしか出なくてSelect allできない問題、みんな自作してるのかAndroidView使って回避してるのか気になる https://t.co/CB5HeCFejI
1
1
1