Paul Woitaschek
05/02/2019, 2:19 PMtevjef
05/02/2019, 3:42 PM@Inject
may still have code generated for them.
- Moved classes with @Inject
may still have code generated in the old location.
This behavior is enabled by default in Kotlin 1.3.31. Is there something I need to configure kapt to ensure the cache is properly invalidated?
This is causing some issues for my team, especially when we switch between branches.
Thank you! I’ve beed getting sub 1 min incrementally builds for the first time in months.iex
05/02/2019, 11:54 PM-assumenosideeffects class mypackage.Log {
public static void v(...);
public static void d(...);
public static void i(...);
}
and can't apparently get kotlin syntax workingSchadenfreude
05/03/2019, 8:57 AM<layer-list xmlns:android="<http://schemas.android.com/apk/res/android>">
<item>
<shape android:shape="oval">
<solid android:color="@color/black"/>
</shape>
</item>
<item
android:drawable="@drawable/btn_pen"
android:bottom="20dp"
android:left="20dp"
android:right="20dp"
android:top="20dp"/>
</layer-list>
And I want to programatically change the color of the oval shape, is there any way to do that (so far I’ve not found anything useful via Google searches)?Shan
05/03/2019, 8:03 PMMarc Knaup
05/04/2019, 2:53 PMNew Gradle Sync is not supported due to containing Kotlin modules using an unsupported plugin versionhttps://scans.gradle.com/s/x2sugy65vmttq#failure Gradle 5.1.1/5.3.1/5.4.1, Kotlin 1.3.21/1.3.31, Kotlin IDEA Plugin 1.3.31, Android Studio 3.4 I've tried different Gradle and Kotlin versions and different ways of loading Kotlin/Android gradle plugins without success. EDIT: wow, Android Studio 3.5 Canary: New Gradle Sync is not supported due to containing buildSrc module
dewildte
05/04/2019, 6:34 PMView
clicks into Flow<T>
, has anyone done this? What approach did you take? If you think it's a bad idea, why?basher
05/05/2019, 3:59 PMSlackbot
05/06/2019, 8:15 AMDaniel
05/06/2019, 9:47 AMcarlos cdmp
05/06/2019, 9:59 AMjw
05/06/2019, 2:00 PMnickk
05/06/2019, 2:27 PMDouble.toString()
uses some default (?) locale , while String.format("%.1f")
uses the locale selected by the user.
So, I end up with two different decimal separators in the same message (both ‘,’ and ‘.’)
Is this expected behavior?Damien O'Reilly
05/06/2019, 7:27 PM@get:Rule
var rule = InstantTaskExecutorRule()
Any idea what else I may be missing?ahegazy
05/07/2019, 11:33 AMthemishkun
05/08/2019, 12:46 AMJan Stoltman
05/08/2019, 8:40 AMParcelable
be used with sealed class
when some of its children are object
?Andy Victors
05/08/2019, 8:58 AM<https://github.com/florent37/Multiplatform-Preferences>
? Gradle imports this dependency successfully and the symbol is recognized but I get the compile error Unresolved reference: Preferences
when trying to use itAndy Victors
05/08/2019, 9:47 AMandroid.xxx.
symbols will be visible in the androidMain
code but compiler does not find them in my case. How is it supposed to implement actual
methods if I need android namespace methods?kevin.cianfarini
05/08/2019, 2:20 PMburak.eregar
05/08/2019, 2:58 PMJacob Applin
05/08/2019, 8:27 PMColumn(
Weighted(
Column(
Gravity(Center),
ImageWizard(
ImageProperty(R.drawable.anonymous),
TextProperty(R.string.anonymous),
TextProperty(R.string.anonymous),
anonymousVisibility
),
ImageWizard(
anonymousImage,
TextProperty(R.string.anonymous),
TextProperty(R.string.anonymous)
)
)
),
Button(
Primary,
TextProperty(R.string.anonymous),
Clicks { anonymousClicks.onNext(Unit) },
Margins(top = Material, bottom = MaterialSmall, left = Material, right = Material)
),
Button(
Secondary,
TextProperty(R.string.anonymous),
Clicks { anonymousClicks.onNext(Unit) },
Margins(bottom = Material, left = Material, right = Material)
)
)
Jacob Applin
05/08/2019, 8:29 PMsirrah
05/09/2019, 9:05 AMinvoke
method of that lambda is abstract.Nav Singh
05/09/2019, 1:21 PMIve Vasiljevic
05/09/2019, 3:03 PMscottiedog45
05/09/2019, 4:05 PMrook
05/09/2019, 6:47 PM0 java.lang.NullPointerException: throw with null exception
1 at com.domain.app.data.models.ReverseGeocodeData$ReverseGeocodeMeta.getAddress$app_releaseFlavor(Unknown Source:3)
2 at com.domain.app.data.models.ReverseGeocodeData.getAddress(SourceFile:23)
3 at com.domain.app.main.home.map.MapPresenter$geocodeCoordinateAddress$1.invokeSuspend(SourceFile:1050)
I’m confused by the function signature com.domain.app.data.models.ReverseGeocodeData$ReverseGeocodeMeta.getAddress$app_releaseFlavor
. What causes the $app_releaseFlavor
to be appended to the name?
I’m not really sure how to debug this, because the call chain appears to expect null and transform it at all the correct points.Ive Vasiljevic
05/10/2019, 6:15 PMitnoles
05/11/2019, 5:41 AMitnoles
05/11/2019, 5:41 AMPaul Woitaschek
05/11/2019, 6:06 AMCody Engel
05/13/2019, 12:28 AM