trevjones
04/18/2017, 8:06 PMkevinmost
04/18/2017, 9:45 PMapply plugin: "kotlin-android-extensions"? We're having a bit of trouble with them being null in Espresso 😕trevjones
04/18/2017, 10:00 PMsrc/androidTest/kotlin src set. what is the context of your consumption of the synthetic properties?joachim.reiss.
04/18/2017, 10:46 PMkevinmost
04/19/2017, 3:20 PMActivityTestRule to launch an activity, and then we're trying to call the synthetic view extensions on it. We don't use src/X/kotlin dirs, all of our Kotlin source is in the src/X/java folders, including for testskevinmost
04/19/2017, 3:21 PMkevinmost
04/19/2017, 3:21 PMkevinmost
04/19/2017, 3:23 PMjoachim.reiss.
04/19/2017, 3:24 PMtrevjones
04/19/2017, 3:24 PMkevinmost
04/19/2017, 3:25 PMtrevjones
04/19/2017, 3:33 PMactivity.some_view_id or what are the specifics?trevjones
04/19/2017, 3:33 PMkevinmost
04/19/2017, 3:41 PMactivity.findViewById(R.id.some_view_id) as MyViewType works fine, so it's confusing why the synthetic bindings don't find itkevinmost
04/19/2017, 3:42 PMtrevjones
04/19/2017, 3:43 PMkevinmost
04/25/2017, 8:39 PMimport kotlinx.android.synthetic.main.fragment_add_venue_info.*. Same import that we use in the actual classes and it works there
I also tried running it just now, whatever issue we were having before (I was trying it out on my coworker's machine) is manifesting differently for me. We get a build error, with Unresolved reference: fragment_add_venue_info at the line with the import for the synthetic 😕