Thanks for your work on this! I noticed that some improvements could be made. The main problem is that it was only working on Activity's for me, but we needed this to work on any class that was using ButterKnife(Dialog, View, Fragment, etc.)
So I modified the plugin so that it replaces the ButterKnife.bind() with the findViewById's, rather than searching for specific keywords like "setContentView" etc. It also now removes the empty lines left after removing imports, etc and has some other minor format changes.
…n a wider variety of class types
Thanks for your work on this! I noticed that some improvements could be made. The main problem is that it was only working on Activity's for me, but we needed this to work on any class that was using ButterKnife(Dialog, View, Fragment, etc.)
So I modified the plugin so that it replaces the ButterKnife.bind() with the findViewById's, rather than searching for specific keywords like "setContentView" etc. It also now removes the empty lines left after removing imports, etc and has some other minor format changes.