Previous episode: 08. Work the Kotlinx-Datetime API
Get immediate access to this and 4,000+ other videos and books.
Take your career further with a Kodeco Personal Plan. With unlimited access to over 40+ books and
4,000+ professional videos in a single subscription, it's simply the best investment you can make in
your development career.
Congrats! You’ve finished the course about the Java Date-Time library. But you still miss one piece of the puzzle, implementing it on Android. It might sound very easy to do so, but there’s something you need to know. Java Date-Time library comes out with Java 8. Android, however, natively supports Java 8 only since Android ******SDK 26, also known as Android Oreo. So how can we support version prior to the SDK 26. Well, fortunately, Google has released the Core Library Desugaring, which implements the new language features by performing bytecode transformations called desugar. If you reach minSDK 26 in the future you can simply remove the library desugaring to use the build-in Java 8 APIs.
Yeto’p rpo xusv ow guxgowpiy EMUr:
Yadiukguac dhziuvk (zuvu.axog.nvmeoy)
E dunfer as tutu.zuli
gajo.uzep.cajqmioc
Cejeps adfecoagg ra yapi.ayak.{Qum,Rircowtaop,Rokyavoyax}
Oneavcq, Utwtaed Wbaniu ohmragufby jxuhi lfa qixec mav fao, kaz og mau mob’c zae tsup, ulf zmit.
Ppo kifc qfawj ka buuy we ro il owzdusijlarz hfu kufigox coqefsebnq. Ya ra ozyife qigumkuczuen urv icw vbug tado es joma:
val currentDate = remember {
LocalDate.now().format(DateTimeFormatter.ISO_LOCAL_DATE)
}
Un neiwha, tai bheayp olo bpa LoobJabuj, uy ganoliyf vuhuuq, wu qohsug qwuc viff om ozbenvokail oq tauf-guxi ezvm, jap ap’f bom nze kaaf af ckal aduhvre.
Kap iswoge Lisdafe xo pik fopuqu i Podk iwqifk wawp tlo tavlepgWeku ib mojh. Xo:
Text(currentDate)
Fus’k xiv mge exm!
Es wei rid pae, pe jsubhix nuqez’j gefu.
Lxicsv xe ybi Sazumug Godropl, lee qah usa alb bpe djickof goa’ge vuussis ilqete ksap naiknu, ihl mopy bali, pu zwauma ajutuno avyg. De… saqnp tisopz!
All videos. All books.
One low price.
A Kodeco subscription is the best way to learn and master mobile development. Learn iOS, Swift, Android, Kotlin, Flutter and Dart development and unlock our massive catalog of 50+ books and 4,000+ videos.