kirillrakhman
08/20/2017, 6:02 PMr-z
08/20/2017, 7:31 PMmariizcal
08/20/2017, 10:34 PMKotlin.Collection
has some kind of conflict with Realtime Database in Firebase?mariizcal
08/20/2017, 10:50 PMjoe_androidsecurity
08/21/2017, 5:43 AMjoe_androidsecurity
08/21/2017, 6:02 AMadinugroho
08/21/2017, 6:39 AMmartynas
08/21/2017, 7:23 AMalso
, takeIf
and otherssalomonbrys
08/21/2017, 9:50 AM1.1.3
to 1.1.4-2
, I get the following exception.
Any pointers ?user
08/21/2017, 10:41 AMpeasee
08/21/2017, 2:32 PMyperess
08/21/2017, 5:37 PM1.2-M2
and build tools 26.0.1
everything is working except extension functions across modules. I have one module sdk
, then modules wear
and app
. In sdk
I have a simple extension function:
fun Context.hasPermission(permission: String): Boolean =
ContextCompat.checkSelfPermission(this, permission) == PackageManager.PERMISSION_GRANTED
But when I use it outside of the sdk
module I'm getting Unresolved reference: hasPermission
(this wasn't the case before updating to build tools 26 / Android Studio 3.0. Does anyone know if I need to do anything special to export extension functions to other modules?yperess
08/21/2017, 5:58 PMContext
as a parameter. This also didn't work. If I instead put the function into a class or an object, it did work.tapchicoma
08/21/2017, 6:32 PMsmuldr
08/22/2017, 8:06 AMraghuramjampala
08/22/2017, 12:15 PMraghuramjampala
08/22/2017, 12:17 PMdeviant
08/22/2017, 12:33 PMaudhil
08/22/2017, 1:50 PMyperess
08/22/2017, 2:07 PMdekans
08/22/2017, 2:17 PMdekans
08/22/2017, 2:17 PMarekolek
08/22/2017, 3:37 PMalif_
08/22/2017, 7:12 PMalif_
08/22/2017, 7:13 PMjw
08/22/2017, 7:14 PMalif_
08/22/2017, 7:15 PMalif_
08/22/2017, 7:35 PMannyce
08/22/2017, 7:36 PMbuild
folder all the time 😔