Since I cannot have the ButterKnife binded views to be private (ButterKnife itself denies it), I would like to avoid the lint check of "Declaration of access can be weaker"
only when I have the ButterKnife annotation "BindView
" over a field. In all the others cases I want to keep having the Lint to notify me about accesses that can be weaker.
I this case I want to automatically avoid the Lint warning
@BindView(R.id.dl_trader)
NDrawerLayout mDrawerLayout;
PS = I would like to avoid to manual insert the @SuppressWarnings("WeakerAccess")
every time I bind a view with ButterKnife. Is there any other automatic way?