https://kotlinlang.org logo
#compose
Title
# compose
s

Samuel

03/24/2024, 12:16 AM
Haven't touched Kotlin/Java/Android dev in ~7 years; so want to make sure I'm starting from the latest and greatest™. Was careful to use
implementation(compose.material3)
over
implementation(compose.material)
and upgrade to latest AOSP (
agp
from
8.1.4
to
8.3.0
). In terms of my forms, should I be using `ExperimentalFoundationApi`; namely
BasicTextField2
? - Any good demonstration applications that follow the latest and greatest™?
s

Stylianos Gakis

03/24/2024, 12:51 AM
Checkout NowInAndroid for such a sample. BTF2 is almost done, but you can just use the old API, no need to use that especially if you're just starting out.
s

Samuel

03/24/2024, 1:23 AM
oh goodie; a maintained [official] example
s

Stylianos Gakis

03/24/2024, 1:26 AM
Oh for compose samples you're in for a treat. Here's a bunch more https://github.com/android/compose-samples These all have a different focus, and all of them are much simpler than NiA so you don't get lost in there
s

Samuel

03/24/2024, 1:27 AM
clones that down also; building both immediately
Going to build some basic auth [specifically bearer with rfc6749] using builtin APIs for Multiplatform (incl. backend server). Login, registration, logout. Hopefully get it all running tonight. EDIT: Very nice; getting around
com.example.compose.jetsurvey.signinsignup
from Jetsurvey now
2 Views