1
0
Fork 0

Update Mozilla Android Components to 32.0.0-SNAPSHOT.

master
Sebastian Kaspari 2020-02-10 12:21:09 +01:00
parent a9d06a0b29
commit f0af6d6f6e
3 changed files with 3 additions and 3 deletions

View File

@ -114,7 +114,7 @@ class HistoryFragment : LibraryPageFragment<HistoryItem>(), UserInteractionHandl
historyView.update(it) historyView.update(it)
} }
viewModel.history.observe(this, Observer { viewModel.history.observe(viewLifecycleOwner, Observer {
historyView.historyAdapter.submitList(it) historyView.historyAdapter.submitList(it)
}) })
} }

View File

@ -63,7 +63,7 @@ class SitePermissionsExceptionsFragment :
val adapter = ExceptionsAdapter(this) val adapter = ExceptionsAdapter(this)
val liveData = LivePagedListBuilder(sitePermissionsPaged, MAX_ITEMS_PER_PAGE).build() val liveData = LivePagedListBuilder(sitePermissionsPaged, MAX_ITEMS_PER_PAGE).build()
liveData.observe(this, Observer<PagedList<SitePermissions>> { liveData.observe(viewLifecycleOwner, Observer<PagedList<SitePermissions>> {
if (it.isEmpty()) { if (it.isEmpty()) {
showEmptyListMessage() showEmptyListMessage()
} else { } else {

View File

@ -32,7 +32,7 @@ object Versions {
const val androidx_work = "2.2.0" const val androidx_work = "2.2.0"
const val google_material = "1.1.0" const val google_material = "1.1.0"
const val mozilla_android_components = "31.0.0-SNAPSHOT" const val mozilla_android_components = "32.0.0-SNAPSHOT"
// Note that android-components also depends on application-services, // Note that android-components also depends on application-services,
// and in fact is our main source of appservices-related functionality. // and in fact is our main source of appservices-related functionality.
// The version number below tracks the application-services version // The version number below tracks the application-services version