Haven't touched Kotlin/Java/Android dev in ~7 year...
# compose
s
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
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
oh goodie; a maintained [official] example
s
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
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