Skip to content

Instantly share code, notes, and snippets.

@cthulhuplush
Created February 17, 2017 15:58
Show Gist options
  • Save cthulhuplush/e969d595125137a6414805164ccd3164 to your computer and use it in GitHub Desktop.
Save cthulhuplush/e969d595125137a6414805164ccd3164 to your computer and use it in GitHub Desktop.
public class Fragment1 extends Fragment
{
@BindView(R.id.fragment1_logo) ImageView mLogo;
public Fragment1()
{
// Required empty public constructor
}
public static Fragment1 newInstance()
{
return new Fragment1();
}
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
{
View v = inflater.inflate(R.layout.fragment1, container, false);
if (v != null)
{
ButterKnife.bind(this, v);
}
return v;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment