alex.tavella
09/16/2019, 5:26 PMRecyclerView.Adapter
on a local VM? I have mocked some stuff but I'm getting a NPE when notifyDataSetChanged
gets calledTravis Griggs
09/16/2019, 8:09 PMrkeazor
09/17/2019, 11:41 AMakhu
09/17/2019, 2:24 PMSam
09/17/2019, 3:13 PMAsyncLayoutInflater
which kind of situation to using it?
thanksM0udi
09/18/2019, 9:19 AMzkeme
09/18/2019, 1:14 PMRobert Menke
09/18/2019, 3:18 PMAmirul Zin
09/19/2019, 1:51 AM2.0.0-beta2
is still broken in AS 3.6 Canary 12
, with AGP 3.6.0-alpha12
.
It was previously broken on 3.6 Canary 11
with AGP 3.6.0-alpha11
as well.
Some resource linkage is broken when building, e.g.
AAPT: error: resource attr/flow_horizontalSeparator not found
AAPT: error: resource attr/motionProgress not found.
It was previously working fine in AGP 3.6.0-alpha10
.
Issue tracked on :
https://issuetracker.google.com/issues/140678030
Possibly related to:
https://issuetracker.google.com/issues/140882056Sergio C.
09/19/2019, 9:38 AMTaha
09/19/2019, 3:11 PMfun getCenterServiceCategories() : Single<CenterServiceCategories>
// ..
data class CenterServiceCategories(
val meta: MetaResponse,
val data: List<ServiceCategory>
)
what I want to do
The ServiceCategory also has a list of ids that I want to loop through and eventually return a flatmap that has the list of categories with their services embedded.
The problem is that I cannot call
getCenterServiceCategories().flatmap{
//...
}
since the list is actually the data property.
i have tried subscribing and getting the data onSubscribe and using Kotlins map and flatmap, but I want to do that with RX
any suggestions?Kulwinder Singh
09/20/2019, 10:32 AMres/drawable
folder. sorry i know it not related to kotlin but i'm unable to find good answerdave
09/20/2019, 3:01 PMalert(getString(R.string.MY_MESSAGE)) {
yesButton {
it.dismiss() // TODO investigate navigation from dialogs and lag
navigateTo(actionMapFragmentToOtherFragment()) }
noButton {}
}.show()
The app freezes when navigating back to the map. Ideas?mattinger
09/20/2019, 3:17 PMMorgan
09/20/2019, 6:53 PMMohamed Ibrahim
09/21/2019, 8:31 AMgetPageWidth()
but this will not be helpful when adding animationKulwinder Singh
09/22/2019, 5:09 AMktx
function by viewModels
how can i get parent Fragment's ViewModel
?
I have tried this private val homeViewModel by parentFragment!!.viewModels<HomeViewModel>()
but it did not workedSergio C.
09/22/2019, 9:08 PMdebugimplementation = "com.squareup.leakcanary:leakcanary-android:$Versions.leakCanary"
Sam
09/23/2019, 7:16 AM<https://jitpack.io>
to distribute my library , but I only want to distribute specify module Navigation
without app and dependencies in app layer . so How to do it on Jitpack . Thanks
<https://github.com/chihung93/Space-Navigation-V2>
Duchynko
09/23/2019, 9:39 AMLuis Munoz
09/23/2019, 4:10 PMdimsuz
09/23/2019, 5:57 PMbuild.gradle
with another project which has exaclty same signing configs and produces a signed apk, but this one isn't.
$ jarsigner -verify /path/to/apk
jar is unsigned
Rakesh Kumar
09/24/2019, 7:57 AMarekolek
09/24/2019, 3:10 PM@JvmOverloads
for custom views on Android can bite you if you don’t do it properly. What I haven’t seen in this discussion yet, is that most probably (because in Kotlin final
is the default), you only need the 2 constructors in your custom view, and so you should be just fine using @JvmOverloads
for it. https://medium.com/@arekolek/all-your-classes-are-final-so-why-do-you-even-need-the-3-argument-constructor-d35553dd6347
What do you think?Marko Mitic
09/24/2019, 5:42 PMPaul Dhaliwal
09/24/2019, 6:54 PMcompanion object {
@BindingAdapter(“app:bgColor”)
@JvmStatic
fun setColor(view: ElevatedFrameLayoutWithBinding, color: String) {
view.backgroundPaint.color = Color.parseColor(color)
}
}
Edit: After further investigation when using the above code onDraw() for the custom view isn’t called, however if I add the attribute normally without Data Binding and the BindingAdapter onDraw() is called as normal.matt tighe
09/25/2019, 10:23 PMdoodla
09/25/2019, 11:55 PMdoodla
09/25/2019, 11:56 PMName: Pixel_2_API_28
Path: /Users/sridhar.vadlamani/.android/avd/Pixel_2_API_28.avd
Error: Google pixel_2 no longer exists as a device
I’m getting a bunch of those.Geert
09/26/2019, 8:55 AMGeert
09/26/2019, 8:55 AMMark McCormick
09/26/2019, 8:57 AMEfe
09/26/2019, 8:59 AMGeert
09/26/2019, 9:03 AMsindrenm
09/26/2019, 9:06 AMjw
09/26/2019, 12:03 PMahulyk
09/26/2019, 12:07 PMjw
09/26/2019, 12:23 PMahulyk
09/26/2019, 12:51 PM