i using @bindstring butterknife 7.0 in helper class don't have view.
the bind methods butter knife are:
bind(activity target) bind(view target) bind(dialog target) bind(object target, activity source) bind(object target, view source) bind(object target, dialog source) as can see, there no method allow me bind without view object.
i can activity , pass class make bind, hacky , add unnecessary dependency class.
there way make butter knife binding without view?
to access (string) resources need context. view has reference context created it.
i don't see how can bind string without context.
update: see this issue on github
Comments
Post a Comment