nino
03/03/2017, 10:07 AMaaverin
03/03/2017, 12:47 PMjw
03/03/2017, 2:34 PMizorin
03/03/2017, 4:03 PMbryan
03/03/2017, 9:50 PManthonyeef
03/05/2017, 10:32 AMgreenDAO
with Kotlin? Looks like it’s not friendly to Kotlin 😒adfrog:jakub.dyszkiewicz
03/05/2017, 11:00 AMv0ldem0rt
03/05/2017, 6:02 PMkatz
03/06/2017, 4:46 PMkubak89
03/07/2017, 3:42 PMmg6maciej
03/09/2017, 8:02 AMelect
03/09/2017, 8:03 AMjustasm
03/09/2017, 8:56 AMkotlin-android-extensions
to access synthetic widget properties from another Android library module within the project?
In my attempts the IDE imports and autocompletes and resolves the references properly, but the compileDebugKotlin
build step fails with Unresolved reference
for the synthetic properties. Does the plugin simply not support such use cases?
Sample: https://gist.github.com/justasm/4a75afd5f5f3e6ba0dbc16b5a1e5331bf.babic
03/09/2017, 10:18 AMenighma
03/09/2017, 11:44 PMgildor
03/10/2017, 2:23 AMvyacheslav.gerasimov
03/10/2017, 6:46 PMben
03/11/2017, 5:10 PMcdev
03/11/2017, 8:42 PMkenkyee
03/13/2017, 2:05 AMdeviant
03/13/2017, 10:09 AMrobin
03/13/2017, 10:24 AMapply
will make this
point to the View you're inflating, so it's trying to use shortcuts
as an extension of the newly inflated view instead of the Activity(?) you're in. Try using this@OuterComponent.shortcuts
inside the apply to reference the same thing you're referencing outside of the apply. (Replace "OuterComponent" with the name of the class you're doing this inside of, obviously)mg6maciej
03/13/2017, 10:58 AMapply
or also
and I tend to avoid it unless it makes the code way more readable.kirillrakhman
03/14/2017, 10:19 PMsdeleuze
03/15/2017, 1:13 AMmiha-x64
03/15/2017, 7:45 AMmatoelorriaga
03/15/2017, 6:39 PMmg6maciej
03/16/2017, 9:17 AMviewModel.counter > 0 ? View.VISIBLE : View.GONE
), but is it not possible to do android:onClick="@{viewModel::incCounter}"
? (not library related)
2) Would be nice to see an example app also implemented without using your lib to see what problems it solves. I don't like using libs just to use libs, when for example the amount of code stays the same or almost the same, just looks different.
3) Add real tests in lib module. Remove example tests from both modules. I like to first read executable documentation.edenman
03/16/2017, 11:10 PMmorozov
03/18/2017, 5:53 PMmorozov
03/18/2017, 5:53 PMlouiscad
03/18/2017, 6:04 PMandroid:checkableBehavior="none"
on the group should do the trick, but googling would have shown the answer to this non kotlin related question 😉morozov
03/19/2017, 10:21 AM