Android development news 02/15/2021

Hello. My name is  Kirill Rozov  and if you are interested in Android development, you probably heard about the  Telegram channel "Android Broadcast" , with daily news for Android developers, and the  YouTube channel of the same name . This post is a text transcript of a new video on the channel






Hey! Another week has come to an end, and I have collected the best news especially for you! A large portion of the new stable Android Jetpack libraries has been released, IDEA can now run on CI, and in the end you will learn how to win a ticket to Mobius! I am Kirill Rozov, this is Android Broadcast channel. Let's figure it out!





AndroidX Activity 1.2.0 | Activity Result API

The Activity 1.2.0 library was released in which the Activity Result API appeared, the ability to get Context



before the call onCreate()



, support ViewTree



, and also the backport of the method reportFullyDrawn()



.





Activity Result API - API, onActivityResult() . callback ActivityResultContract, Activity. , . API , , onActivityResult()



.





- Context



onCreate()



, . Coroutine callback-a.





ViewTree



- ComponentActivity



API SavedState Lifecycle, .





  • AndroidX Activity 1.2.0





  • Activity Result API





Fragment 1.3.0

Fragment 1.3.0 , API, deprecated API, Fragment



.





, - Fragment-, , back stack-.





Activity Result API , , request callback- permission.





Fragment setTargetFragment - . API - Fragment Result API, FragmentManager Fragment- Callback.





" Fragment " - Google deprecated API. setRetainInstance() , ViewModel. FragmentPagerAdapter ViewPager 1 deprecated , . deprecation onAttachFragment() Activity Fragment. FragmentOnAttachListener, onAttachFragment().





  • AndroidX Fragment 1.3.0





  • Fragment Result





  • "Fragments: rebuilding the internals"





Lifecycle 2.3.0

Lifecycle 2.3.0 SavedStateHandle, Lifecycle, ViewTree API.





SavedStateHandle lazy , .. setSavedStateProvider() , , .





Lifecycle: DESTROYED - , . Lifecycle , . API,





ViewTree API, LifecycleOwner ViewModelStoreOwner View. API SavedStateRegistry savedstate 1.1.0





  • AndroidX Lifecycle 2.3.0





Kotlin Symbol Processing

Kotlin Symbol Processing (KSP) Room





KSP - kapt, . Google Kotlin , , Java apt Kotlin. KSP 2 kapt. . KSP





  • Kotlin Symbol Processing Alpha





IDEA CI

IDEA GUI CI





JetBrains - Qodana, CI . Qodana 2 : IDEA UI Web UI . pipeline. Teamcity, Docker GitHub Action Application. TeamCity. . EAP , .





  • JetBrains Qodana





  • Qodana ( )





Core App Quality

developers.android.com "App Quality",   Android .





, . checklist Android. :





















  • Google Play





.





  • "Core App Quality"





  • "Core App Quality"





2021

Kaspersky android feature , , feature . .





  • " Android 2021"






Mobius

  1. YouTube "Android Broadcast"





  2. Telegram "Android Broadcast"





  3. Telegram "Kotlin Broadcast"





  4. Telegram ( !!!)





  5. ,








All Articles