avast / android-butterknife-zelezny

Android Studio plug-in for generating ButterKnife injections from selected layout XML.
Apache License 2.0
3.38k stars 412 forks source link

support choose the right layout file when generate #142

Open wankey opened 7 years ago

wankey commented 7 years ago

I have a project with 2 module(module A & module B), both them has layout file 'fragment_recycler.xml',but the content isn't same. When I generate this layout in module A, I want generate the file in module A , but now the dialog show elements of the file under module B.

mdtaqi98 commented 7 years ago

On Tue, 5 Sep 2017 at 9:03 AM, wankey notifications@github.com wrote:

I have a project with 2 module(module A & module B), both them has layout file 'fragment_recycler.xml',but the content isn't same. When I generate this layout in module A, I want generate the file in module A , but now the dialog show elements of the file under module B.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/avast/android-butterknife-zelezny/issues/142, or mute the thread https://github.com/notifications/unsubscribe-auth/AYPauPuwlHkEv5UrgfV23pxzzPPRLxBfks5sfMElgaJpZM4PMZzE .

You can make a new java file which u have in the module B and a new xml file and make as of one whole project so that you can build