From Westinghouse to Android Instant apps, a BuzzFeed Journey
Steve Peterson
752

Currently building an Instant app and stuck at an issue with DataBinding where the DataBinderMapper class is not auto generated for the instant app module.

In case of a full (installed) app build, 3 DataBinderMapper classes are created — one for feature module, one for base module and one for the APK module. (the APK module DataBinderMapper class is a merge of the base and feature module mapper classes).

However for instant app build, only 2 DataBinderMapper classes — for feature and base module are created. The merged data binder mapper class is not auto generated which results in a NPE during instant app launch.

Did you face any problems with DataBinding + Instant apps during your development? Any help/advice would be great!

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.