Code example for Fragment

Methods: getActivityonViewCreated

0
 
 
 
    @Override 
    public void onViewCreated(View view, Bundle savedInstanceState) {
        super.onViewCreated(view, savedInstanceState);
        RoboGuice.getInjector(getActivity()).injectViewMembers(this);
    } 
     
     
	@Override 
	public void onActivityCreated(Bundle savedInstanceState) {
		super.onActivityCreated(savedInstanceState);
	    RoboGuice.getInjector(getActivity()).injectViewMembers(this);
	} 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE