https://kotlinlang.org logo
Title
i

IsaacMart

07/18/2022, 7:42 PM
Hello guys. Am implementing a country code picker in jetpack compose but i haven't found my way for the last two days. Here is my recent implementation using xml spinner.want something similar in compose
k

Kirill Grouchnikov

07/18/2022, 7:43 PM
Is there a particular question just about the +254 box? Or the whole thing? Or maybe the popup you display to select the country code? Something else?
i

IsaacMart

07/18/2022, 7:47 PM
I just want a country code picker with a flag.must not be exactly in that shape but with limited countries.
k

Kirill Grouchnikov

07/18/2022, 7:48 PM
So it’s a row with an image and a text view in it. Displayed in the popup.
See this or this
i

IsaacMart

07/18/2022, 7:50 PM
Yes sir. Its a row with an image and text.
k

Kirill Grouchnikov

07/18/2022, 7:50 PM
You don’t need to send the replies to the main channel.
You show the popup, and each element is a compose
Row
with an image and a text in there
This is an overview of compose layout basics
i

IsaacMart

07/18/2022, 7:54 PM
Thank you sir. You have saved the day.