android - Does findViewById has priority over ButterKnife's bind method call? -


in activity's oncreateview have 2 different source views inflate ui elements. inflating ui elements belong 1 source view findviewbyid() , belong other source view using butterknife's bind method call.

but work if findviewbyid has priority on butterknife, otherwise first set of elements attached second source view.

so true findviewbyid has priority on butterknife?

under hood butterknife's bind being executed findviewbyid integer value of id, rather lookup r.id.something, means both methods performing same , have same "priority", depends 1 execute first.

so answer "no, butterknife's bind has no priority, though execution can bit faster due lookup"


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -