findViewById, Butter Knife to rescue
Read Time 2 minutes As an android developer you must have written a lot of code in onCreate [in Activity] or onCreateView[in Fragment] to get the reference of views defined in layout xml files. For example to get the reference of username EditText and login Button from fragment_login.xml we do: EditText etUsername; Button btLogin; @Override public View onCreateView(LayoutInflater …