Share
Embed
Jetpack最新情報 & Android Architecture Components
札幌Android勉強会 sapporo.apk #2
https://sapporo-apk.connpass.com/event/107698/
Yuki Anzai
December 08, 2018
Annual Pro sale · Save $30
Have presentations of your own?
Share with private links, password protection, and more control over your work.
Transcript
90 slides
-
͋Μ͍͟Ώ͖ • blog : Y.A.M ͷࡶهா • y-anz-m.blogspot.com • twitter
: @yanzm ʢΜ͟Ήʣ • uPhyca Inc. (גࣜձࣾϑΟΧ) • Google Developers Expert for Android -
Support Library → AndroidX • Support Library 28.0.0 Ͱऴྃ
• package ͱ artifact ͕ AndroidX ʹมΘΔ • "com.android.support:appcompat-v7:28.0.0" → "androidx.appcompat:appcompat:1.0.0" • 2018/9/21 AndroidX 1.0.0 ϦϦʔε -
How to move • compileSdkVersion 28 Ҏ্ʹ͢Δ • Support Library
Λ 28.0.0 ʹ͢Δ • ରԠද : https:// developer.android.com/jetpack/ androidx/migrate • [Refactor] - [Refactor to AndroidX…] -
https://developer.android.com/kotlin/ktx ԼҐޓੑɺςετɺKotlinݴޠαϙʔτͳͲ Android KTX Android ϑϨʔϜϫʔΫͷ API Support Library
ͷ API ΛΑΓ؆ܿʹهड़Ͱ͖ΔΑ͏ʹ͢Δ Kotlin extension function ू ༻ස: Kotlin Λ͍ͬͯΔͳΒதʙߴ "androidx.core:core-ktx:1.0.1" view.viewTreeObserver.addOnPreDrawListener( object : ViewTreeObserver.OnPreDrawListener { override fun onPreDraw(): Boolean { viewTreeObserver.removeOnPreDrawListener(this) actionToBeTriggered() return true } } ) view.doOnPreDraw { actionToBeTriggered() } -
https://developer.android.com/studio/build/multidex ԼҐޓੑɺςετɺKotlinݴޠαϙʔτͳͲ Multidex ΞϓϦͱϥΠϒϥϦͷϝιουͷ߹ܭ͕ 65536 Λ͑Δͱ ୯Ұͷ Dalvik Executable (DEX)
bytecode fi le ʹͰ͖ͳ͘ ͳΔͨΊɺmultidex ઃఆ͕ඞཁʹͳΔ ༻ස: ʙத -
https://developer.android.com/training/testing/ ԼҐޓੑɺςετɺKotlinݴޠαϙʔτͳͲ Test Unit ςετ͓Αͼ Instrumentation ςετΛߦ͏ͨΊͷ ϥΠϒϥϦͱΨΠμϯε ༻ස: ߴ
androidx.test:core:1.0.0 androidx.test:runner:1.1.0 androidx.test:rules:1.1.0 androidx.test.ext:junit:1.0.0 androidx.test.ext:truth:1.0.0 androidx.test.espresso:espresso-core:3.1.0 … -
https://developer.android.com/jetpack/ UI ؔͷΟδΣοτϔϧύʔ Auto, TV, Wear OS by Google Android
Auto Android TV Wear OS ؔ࿈ͷΨΠμϯε ༻ස: -
https://developer.android.com/training/animation/ UI ؔͷΟδΣοτϔϧύʔ Animation & transitions ΞχϝʔγϣϯશൠͷΨΠμϯεͱϥΠϒϥϦ ༻ස: தʙߴ "androidx.transition:transition:1.0.0"
"androidx.dynamicanimation:dynamicanimation:1.0.0" "androidx.vectordrawable:vectordrawable-animated:1.0.0" -
https://developer.android.com/guide/topics/ui/declaring-layout UI ؔͷΟδΣοτϔϧύʔ Layout ϨΠΞτʹؔ͢ΔΨΠμϯεͱϥΠϒϥϦ ༻ස: ߴ LinearLayout FrameLayout ConstraintLayout
CoordinatorLayout "androidx.constraintlayout:constraintlayout:1.1.2" "androidx.coordinatorlayout:coordinatorlayout:1.0.0" -
https://developer.android.com/guide/topics/media-apps/media-apps-overview Androidͷඪ४తͳػೳΛ ΞϓϦʹΈࠐΉͨΊͷ ΨΠμϯε Media & playback ϝσΟΞʢԻɾಈըʣΛ࠶ੜ͢ΔػೳΛ࣮͢ΔͨΊͷ ΨΠμϯε ༻ස:
ʙத "androidx.media:media:1.0.0" "androidx.mediarouter:mediarouter:1.0.0" -
https://developer.android.com/guide/topics/ui/noti fi ers/noti fi cations Androidͷඪ४తͳػೳΛ ΞϓϦʹΈࠐΉͨΊͷ ΨΠμϯε Noti fi
cations ௨Λ࣮͢ΔͨΊͷΨΠμϯε ޙํޓੑͷ͋ΔAPI (Noti fi cationCompat ͳͲ) ͕༻ҙ ͞Ε͍ͯΔ ༻ස: ߴ "androidx.core:core:1.0.0" -
https://developer.android.com/topic/libraries/data-binding/ Architecture components Data Binding มߋΛݕͰ͖ΔσʔλΛ UI ͷཁૉʹએݴతʹ bind ͢Δ
ϥΠϒϥϦ ༻ස: தʢ͍͚ͨΕʣ <TextView android:text="@{viewmodel.userName}" /> android { ... dataBinding { enabled = true } } -
https://developer.android.com/topic/libraries/architecture/lifecycle Architecture components Lifecycles Activity Fragment ͷϥΠϑαΠΫϧͷมԽʹԠͨ͡ ॲཧΛ؆୯ʹߦ͑ΔΑ͏ʹ͢ΔϥΠϒϥϦ LiveData
Λ͏߹ Lifecycles ΄΅͏ ༻ස: ߴ // Lifecycles only "androidx.lifecycle:lifecycle-runtime:2.0.0" "androidx.lifecycle:lifecycle-compiler:2.0.0" -
https://developer.android.com/topic/libraries/architecture/livedata Architecture components LiveData Φϒβʔόʔ͕มߋΛݕͰ͖ΔσʔλϗϧμʔΛ ఏڙ͢ΔϥΠϒϥϦ ϥΠϑαΠΫϧʹԠͯ͡ɺActivity Fragment ͕
active lifecycle state ͷͱ͖͚ͩ௨͢Δͱ͍͏͜ͱ͕ Մೳ ༻ස: ߴ // just LiveData "androidx.lifecycle:lifecycle-viewmodel:2.0.0" "androidx.lifecycle:lifecycle-compiler:2.0.0" -
https://developer.android.com/topic/libraries/architecture/paging/ Architecture components Paging σʔλιʔε͔ΒҰఆͷ͔ͨ·Γ͝ͱʹσʔλΛϩʔυ ͯ͘͠ΔͨΊͷϥΠϒϥϦ RecyclerView ͚ Room ͱͷ૬ੑ͕Α͍
༻ස: த "androidx.paging:paging-runtime:2.1.0-rc01" -
https://developer.android.com/topic/libraries/architecture/room Architecture components Room SQLite σʔλϕʔεʹΑΓݎ࿚ʹΞΫηε͢ΔͨΊͷ ػೳΛఏڙ͢ΔϥΠϒϥϦ ΦϒδΣΫτͷϚοϐϯά SQLจͷ੩తղੳ ͳͲ
༻ස: த "androidx.room:room-runtime:2.0.0" "androidx.room:room-compiler:2.0.0" -
https://developer.android.com/topic/libraries/architecture/viewmodel Architecture components ViewModel Activity ͷ࠶ੜΛ͑ͯσʔλΛอ࣋͢ΔͨΊͷ ϥΠϒϥϦ ༻ස: ߴ //
ViewModel and LiveData "androidx.lifecycle:lifecycle-extensions:2.0.0" // just ViewModel "androidx.lifecycle:lifecycle-viewmodel:2.0.0" "androidx.lifecycle:lifecycle-compiler:2.0.0" -
https://developer.android.com/topic/libraries/architecture/workmanager/ Architecture components WorkManager ಛఆͷ݅λΠϛϯάͰλεΫΛόοΫάϥϯυͰ ࣮ߦ͢ΔͨΊͷϥΠϒϥϦ AndroidX ൛·ͩϦϦʔε͞Ε͍ͯͳ͍ ࠷৽ 1.0.0-alpha12
෦Ͱ JobScheduler, AlarmManager Λ༻͍ͯ͠Δ ༻ස: ߴ -
ྫʣGithub ͔Β google organization ͷϦϙδτϦҰཡΛऔಘͯ͠ RecyclerView ʹදࣔ͢Δ class MainActivity :
AppCompatActivity() { private val service = createGitHubService(username, token) private val adapter = Adapter() override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_main) recyclerView.adapter = adapter retryButton.setOnClickListener { load() } load() } private fun load() { progressBar.visibility = View.VISIBLE retryButton.visibility = View.GONE service.reposOf("google").enqueue(object : Callback<List<Repo>> { override fun onResponse(call: Call<List<Repo>>, response: Response<List<Repo>>) { progressBar.visibility = View.GONE if (response.isSuccessful) { adapter.submitList(response.body()!!) } else { retryButton.visibility = View.VISIBLE } } override fun onFailure(call: Call<List<Repo>>, t: Throwable) { progressBar.visibility = View.GONE retryButton.visibility = View.VISIBLE } }) } -
ྫʣViewModel & LiveData Λ͏ class MainViewModel : ViewModel() { private
val service = createGitHubService(username, token) data class Status(val isLoading: Boolean, val data: List<Repo>?, val throwable: Throwable?) private val _status = MutableLiveData<Status>() val status: LiveData<Status> = _status init { load() } fun load() { _status.value = Status(true, null, null) service.reposOf("google").enqueue(object : Callback<List<Repo>> { override fun onResponse(call: Call<List<Repo>>, response: Response<List<Repo>>) { _status.value = if (response.isSuccessful) { Status(false, response.body()!!, null) } else { Status(false, null, IllegalStateException()) } } override fun onFailure(call: Call<List<Repo>>, t: Throwable) { _status.value = Status(false, null, t) } }) } } -
ྫʣViewModel & LiveData Λ͏ class MainActivity : AppCompatActivity() { private
val adapter = Adapter() override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_main) recyclerView.adapter = adapter val viewModel = ViewModelProviders.of(this).get(MainViewModel::class.java) retryButton.setOnClickListener { viewModel.load() } viewModel.status.observe(this, Observer { val (isLoading, data, _) = it if (isLoading) { progressBar.visibility = View.VISIBLE retryButton.visibility = View.GONE } else { progressBar.visibility = View.GONE if (data != null) { adapter.submitList(data) } else { retryButton.visibility = View.VISIBLE } } }) } } -
androidx.activity:activity:1.0.0-alpha02 ͳΒ class MainActivity : AppCompatActivity() { private val adapter
= Adapter() private val viewModel: MainViewModel by viewModels() override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_main) recyclerView.adapter = adapter retryButton.setOnClickListener { viewModel.load() } viewModel.status.observe(this, Observer { when (it) { Status.Loading -> { progressBar.visibility = View.VISIBLE retryButton.visibility = View.GONE } is Status.Success -> { progressBar.visibility = View.GONE adapter.submitList(it.data) } is Status.Error -> { progressBar.visibility = View.GONE retryButton.visibility = View.VISIBLE } } }) } } -
- Status Ͱ data throwable ྆ํ null ͱ͍͏͋Γ͑ͳ͍ঢ়ଶΛ࡞Εͯ͠·͏
data class Status( val isLoading: Boolean, val data: List<Repo>?, val throwable: Throwable? ) -
- Status Ͱ data throwable ྆ํ null ͱ͍͏͋Γ͑ͳ͍ঢ়ଶΛ࡞Εͯ͠·͏
→ Kotlin ͷ sealed class Λ͏ https://kotlinlang.org/docs/reference/sealed-classes.html sealed class ΫϥεܧঝઌΛ੍ݶͰ͖Δ sealed class Expr { data class Const(val number: Double) : Expr() data class Sum(val e1: Expr, val e2: Expr) : Expr() object NotANumber : Expr() } Expr ܕͷΠϯελϯεͷ࣮ମ Const, Sum NotANumber ͷͲΕ͔ when (expr) { is Expr.Const -> TODO() is Expr.Sum -> TODO() Expr.NotANumber -> TODO() } -
- Status Ͱ data throwable ྆ํ null ͱ͍͏͋Γ͑ͳ͍ঢ়ଶΛ࡞Εͯ͠·͏
sealed class Status<out T> { object Loading : Status<Nothing>() data class Success<T>(val data: T) : Status<T>() data class Error(val throwable: Throwable) : Status<Nothing>() } → Kotlin ͷ sealed class Λ͏ data class Status( val isLoading: Boolean, val data: List<Repo>?, val throwable: Throwable? ) -
class MainViewModel : ViewModel() { private val service = createGitHubService(username,
token) private val _status = MutableLiveData<Status<List<Repo>>>() val status: LiveData<Status<List<Repo>>> = _status init { load() } fun load() { _status.value = Status.Loading service.reposOf("google").enqueue(object : Callback<List<Repo>> { override fun onResponse(call: Call<List<Repo>>, response: Response<List<Repo>>) { _status.value = if (response.isSuccessful) { Status.Success(response.body()!!) } else { Status.Error(IllegalStateException()) } } override fun onFailure(call: Call<List<Repo>>, t: Throwable) { _status.value = Status.Error(t) } }) } } ྫʣViewModel & LiveData & sealed class Λ͏ -
class MainActivity : AppCompatActivity() { private val adapter = Adapter()
override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_main) recyclerView.adapter = adapter val viewModel = ViewModelProviders.of(this).get(MainViewModel::class.java) retryButton.setOnClickListener { viewModel.load() } viewModel.status.observe(this, Observer { when (it) { Status.Loading -> { progressBar.visibility = View.VISIBLE retryButton.visibility = View.GONE } is Status.Success -> { progressBar.visibility = View.GONE adapter.submitList(it.data) } is Status.Error -> { progressBar.visibility = View.GONE retryButton.visibility = View.VISIBLE } } }) } } ྫʣViewModel & LiveData & sealed class Λ͏ -
AndroidX ͷόʔδϣχϯά • major version binary compatibility Λࢦ͢ •
1.5.0 revision ͷґଘ 1.7.0 ʹରͯ͠ಈ࡞͢Δt ͕ɺ2.0.0 ʹରͯ͠ಈ͔ͳ͍Մೳੑ͕͋Δ -
androidx.activity:activity:1.0.0-alpha02 Activity ࠷৽ : 2018/12/3 Stable ͳ͠ FragmentActivity, AppCompatActivity ͷϕʔεΫϥεͱͯ͠
ComponentActivity ͕ Ճ͞Εͨ - OnBackPressedCallback Λ addOnBackPressedCallback() Ͱొ͢Δ͜ͱͰ onBackPressed() Λ override ͤͣʹ intercept Ͱ͖Δ - ComponentActivity ͔Β ViewModel Λऔಘ͢ΔͨΊͷ by viewModels() Kotlin property delegate - ΫϦοΫͳͲͷ pending input events onStop() ͰΩϟϯηϧ͞ΕΔ - onRetainCustomNonCon fi gurationInstance deprecated ʹͳΓɺΘΓʹ ViewModel Λར༻͢Δ class MainActivity : AppCompatActivity() { private val viewModel : MainViewModel by viewModels() -
androidx.appcompat:appcompat:1.1.0-alpha01 Appcompat ࠷৽ : 2018/12/3 Stable : 2018/11/7 androidx.appcompat:appcompat:1.0.2 1.1.0-alpha01
- app:drawableLeftCompat, app:drawableRightCompat, app:drawableTopCompat, app:drawableBottomCompat, app:drawableStartCompat, app:drawableEndCompat ͕Ճ͞ΕɺVectorDrawableCompat ΛࢦఆՄೳ <TextView … app:drawableStartCompat="@drawable/ic_info_outline_black_24dp" /> -
androidx.collection:collection:1.1.0-alpha01 Collection ࠷৽ : 2018/12/3 Stable : 2018/9/21 androidx.collection:collection:1.0.0 1.1.0-alpha01
- LongSparseArray, SimpleArrayMap, SparseArrayCompat ʹ putIfAbsent() ͕Ճ - SimpleArrayMap ʹ getOrDefault() ͕Ճ - LongSparseArray, SimpleArrayMap, SparseArrayCompat ʹҾ͕2ͭͷ remove() ͕Ճ - LongSparseArray, SimpleArrayMap, SparseArrayCompat ʹҾ͕2ͭͷ replace() ͱҾ͕3ͭͷ replace() ͕Ճ val map = SimpleArrayMap<String, Int>() map.putIfAbsent("Pie", 28) map.remove("Pie", 27) map.replace("Pie", 28) map.replace("Pie", 27, 28) -
androidx.coordinatorlayout:coordinatorlayout:1.1.0-alpha01 CoordinatorLayout ࠷৽ : 2018/12/3 Stable : 2018/9/21 androidx.coordinatorlayout:coordinatorlayout:1.0.0 1.1.0-alpha01
- CoordinatorLayout ͕ NestedScrollingParent3 Λ࣮ -
androidx.core:core:1.1.0-alpha02 Core ࠷৽ : ? Stable : 2018/11/7 androidx.core:core:1.0.1 1.1.0-alpha01
- NestedScrollingChild3, NestedScrollingParent3 ؔ࿈ - ShortcutInfoCompat ʹ Persons, categories, isLongLived ϑΟʔϧυ͕Ճ͞Εͨ - SupportActivity ͕ ComponentActivity ʹϦωʔϜ - getMainExecutor() ϝιου͕Ճ͞Εͨ - Accessibility ؔ࿈ - ͳͲ -
androidx.fragment:fragment:1.1.0-alpha02 Fragment ࠷৽ : 2018/12/3 Stable : 2018/9/21 androidx.fragment:fragment:1.0.0 1.1.0-alpha01
fragment-testing ͕Ճ͞Εͨ - ςετ༻ͷ FragmentScenario Ϋϥε͕Ճ͞Εͨʢfragment-testingʣ - FragmentManager ʹ FragmentFactory Ληοτ͢Δ͜ͱͰ Fragment Πϯελϯε ੜॲཧΛίϯτϩʔϧͰ͖Δ - Fragment ͔Β ViewModel Λऔಘ͢ΔͨΊͷ by viewModels() Kotlin property delegate - ΫϦοΫͳͲͷ pending input events onStop() ͰΩϟϯηϧ͞ΕΔ androidx.fragment:fragment-testing:1.1.0-alpha02 class MainFragment : Fragment() { private val viewModel : MainViewModel by viewModels() -
androidx.loader:loader:1.1.0-alpha01 Loader ࠷৽ : 2018/12/3 Stable : 2018/9/21 androidx.loader:loader:1.0.0 1.1.0-alpha01
- AsyncTaskLoader ʹ getExecutor() ͕Ճ - AsyncTaskLoader ͷσϑΥϧτͷ Executor ͕ AsyncTask.THREAD_POOL_EXECUTOR ʹมߋ -
androidx.media:media:1.1.0-alpha01 Media ࠷৽ : 2018/12/3 Stable : 2018/9/21 androidx.media:media:1.0.0 1.1.0-alpha01
- MediaSessionCompat ͷ FLAG_HANDLES_MEDIA_BUTTONS ͱ FLAG_HANDLES_TRANSPORT_CONTROLS ϑϥά͕ deprecated ʹ -
androidx.mediarouter:mediarouter:1.1.0-alpha01 MediaRouter ࠷৽ : 2018/12/3 Stable : 2018/9/21 androidx.mediarouter:mediarouter:1.0.0 1.1.0-alpha01
- dynamic group routes ͷαϙʔτ͕Ճ - MediaRouteProviders Ͱ dynamic group routes Λαϙʔτ͢Δ API ͕Ճ - route બͱίϯτϩʔϧμΠΞϩάʹ dynamic group routes ͷͨΊͷ৽͍͠ UX ͕Ճ -
androidx.preference:preference:1.1.0-alpha01 Preference ࠷৽ : 2018/11/5 Stable : 2018/9/21 androidx.preference:preference:1.0.0 1.1.0-alpha01
- Preference ͕ߋ৽͞Εͨͱ͖ʹ Summary Λߋ৽͢ΔͨΊͷ SummaryProvider ͕ Ճ͞Εͨ - ListPreference ͱ EditTextPreference ͚ʹ default ͷ SummaryProvider ͕༻ҙ͞ Εɺapp:useSimpleSummaryProvider=”true” ͰࢦఆͰ͖Δ - PreferenceGroup. removePreferenceRecursively() -
androidx.recyclerview:recyclerview:1.1.0-alpha01 RecyclerView ࠷৽ : 2018/12/3 Stable : 2018/9/21 androidx.recyclerview:recyclerview:1.0.0 1.1.0-alpha01
- RecyclerView ͕ NestedScrollingChild3 Λ࣮ androidx.recyclerview:recyclerview-selection:1.1.0-alpha01 ࠷৽ : 2018/12/3 Stable : 2018/9/21 androidx.recyclerview:recyclerview-selection:1.0.0 -
androidx.remotecallback:remotecallback:1.0.0-alpha01 Remote Callback ࠷৽ : 2018/12/3 Stable ͳ͠ PendingIntents ͷੜͱड৴Λ؆୯ʹ͢Δ͜ͱΛతͱͨ͠৽͍͠ϥΠϒϥϦ
public class MyReceiver : BroadcastReceiverWithCallbacks<MyReceiver>() { fun getPendingIntent(context: Context, value1: Int, value2: Int): PendingIntent { return createRemoteCallback(context) .doMyAction(value1, value2) .toPendingIntent() } @RemoteCallable fun doMyAction(value1: Int, value2: Int): RemoteCallback { // ... return RemoteCallback.LOCAL } } -
androidx.swiperefreshlayout:swiperefreshlayout:1.1.0-alpha01 Swipe Refresh Layout ࠷৽ : 2018/12/3 Stable : 2018/9/21
androidx.swiperefreshlayout:swiperefreshlayout:1.0.0 1.1.0-alpha01 - SwipeRefreshLayout ͕ NestedScrollingChild3 Λ࣮ -
androidx.textclassifier:textclassifier:1.0.0-alpha01 Text Classi fi er ࠷৽ : 2018/12/3 Stable ͳ͠
android.view.textclassi fi er.TextClassi fi er ͷόοΫϙʔτ -
androidx.transition:transition:1.1.0-alpha01 Transition ࠷৽ : 2018/12/3 Stable : ? androidx.transition:transition:1.0.1 1.1.0-alpha01
- Scene.getCurrentScene(View) ͕ public ʹͳͬͨ -
androidx.vectordrawable:vectordrawable:1.1.0-alpha01 Vector Drawable ࠷৽ : 2018/12/3 Stable : ? androidx.vectordrawable:vectordrawable:1.0.1
1.1.0-alpha01 - Theme ͷଐੑͰఆٛͨ͠ ColorStateLists Λ VectorDrawableCompat ͷ tint ʹར༻Ͱ ͖ΔΑ͏ʹͳͬͨ -
androidx.versionedparcelable:versionedparcelable:1.1.0-alpha01 Versioned Parcelable ࠷৽ : 2018/11/5 Stable : 2018/9/21 androidx.versionedparcelable:versionedparcelable:1.0.0
1.1.0-alpha01 - VersionedParcelStream Λআ͘શͯͷΫϥεͷ CharSequence ͷαϙʔτ͕Ճ͞ Εͨ - SuperClass, Set, and Map ͷαϙʔτ͕Ճ͞Εͨ -
androidx.paging:paging-runtime:2.1.0-rc01 Paging ࠷৽ : 2018/12/6 Stable : 2018/10/1 androidx.paging:paging-runtime:2.0.0 2.1.0-alpha01
- KTX extension libraries ͕Ճ - Page dropping ػೳ͕Ճ - PagedListAdapter/AsyncPagedListDiffer ʹ differ ॲཧ͕ऴΘͬͯ paged list Λߋ৽͢ ΔλΠϛϯάͰ௨͕͘Δ callback ΛͤΔ submitList() ͕Ճ - ͳͲ androidx.paging:paging-rxjava2:2.1.0-rc01 androidx.paging:paging-runtime-ktx:2.1.0-rc01 androidx.paging:paging-rxjava2-ktx:2.1.0-rc01 androidx.paging:paging-rxjava2:2.0.0 -
androidx.room:room-runtime:2.1.0-alpha03 Room ࠷৽ : 2018/12/4 Stable : 2018/10/1 androidx.room:room:2.0.0 2.1.0
- androidx.room:room-coroutines ϥΠϒϥϦͷՃ - FTSʢFull Text Searchʣ - VIEWs - Multi-Instance Invalidation - AutoValue - RxRoom -
android.arch.work:work-runtime:1.0.0-alpha12 WorkManager ࠷৽ : 2018/12/5 Stable ͳ͠ 1.0.0-alpha12 - android.arch.work:work-rxjava2
͕Ճ - Firebase ͷ JobDispatcher ͕ഇࢭ༧ఆͷͨΊར༻͞Εͳ͘ͳͬͨɻকདྷతʹସख ஈ͕Ճ͞ΕΔ༧ఆ - Worker ͷ output Λ Result ͱͯ͠ઃఆ͢ΔΑ͏ʹมߋ - ͳͲ 1.0.0-alpha11 - android.arch.work:work-runtime-ktx Ͱ CoroutineWorker ͕Ճ - ͳͲ android.arch.work:work-rxjava2:1.0.0-alpha12 android.arch.work:work-runtime-ktx:1.0.0-alpha12 -
androidx.test:runner:1.1.1-beta01 AndroidJUnitRunner and JUnit Rules ࠷৽ : ? 2018/11/28Ҏ߱ Stable
: 2018/10/24 androidx.test:runner:1.1.0 androidx.test:rules:1.1.1-beta01 androidx.test:rules:1.1.0 -
androidx.test.ext:truth:1.1.0-beta01 Assertions ࠷৽ : ? 2018/11/28Ҏ߱ Stable : 2018/10/24 androidx.test.ext:truth:1.0.0
androidx.test.ext:junit:1.1.0-beta01 androidx.test.ext:junit:1.0.0 -
androidx.test.espresso:espresso-core:3.1.1-beta01 androidx.test.espresso:espresso-contrib:3.1.1-beta01 androidx.test.espresso:espresso-intents:3.1.1-beta01 androidx.test.espresso:espresso-accessibility:3.1.1-beta01 androidx.test.espresso:espresso-web:3.1.1-beta01 Espresso ࠷৽ : ? 2018/11/28Ҡߦ
Stable : 2018/10/24 androidx.test.espresso:espresso-core:3.1.0 androidx.test.espresso:espresso-contrib:3.1.0 androidx.test.espresso:espresso-intents:3.1.0 androidx.test.espresso:espresso-accessibility:3.1.0 androidx.test.espresso:espresso-web:3.1.0