🎉 Released a new version 1.0.4
! 🎉
What's New?
- Added
bundleValue
for retrieving intent & arguments extra values immediately from Activity and Fragment.
bundleValue
,bundleNonNullValue
,bundleArrayValue
,bundleArrayListValue
.
val id = bundleValue("id", 100L)
val name = bundleValue("name", "")
val poster = bundleValue<Poster>("poster")
- Now
observeBundle
emits data only a single time to a single observer. We can observe only once using one observer. And the observer will be unregistered from theLiveData
after observing data at once.