Closed pswaminathan closed 1 year ago
I added a line to dump all the bindings, and I'm seeing:
INFO: From DatabindingStubs @//app:app_lib-stubs:
[...Binding(rawName=myObjects, typeName=List<MyModel>, name=myObjects, bindingType=com.grab.databinding.stub.binding.parser.BindingType$Variable@34f654c)]
...
That is, it's showing type as List<MyModel>
, not java.util.List<com.example.otherpkg.MyModel>
. This looks like it might have something to do with this discussion
Repro here. I see in
bazel-out/android-armeabi-v7a-fastbuild/bin/app/_javac/app_lib-kotlin/app_lib-kotlin-java_tmp/com/example/databinding/lib/databinding
(note the lack of imports):