Skip to content

Instantly share code, notes, and snippets.

@kalvian1060
Created May 20, 2017 08:00
Show Gist options
  • Save kalvian1060/1c64105ee35a38c5622fe0099bd73dda to your computer and use it in GitHub Desktop.
Save kalvian1060/1c64105ee35a38c5622fe0099bd73dda to your computer and use it in GitHub Desktop.
Contoh Fragment 2
package id.kalviansofian.belajarfragment;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
/**
* Created by root on 20/05/17.
*/
public class ContohFragment2 extends Fragment {
@Nullable
@Override
public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
return inflater.inflate(R.layout.fragment2,container,false);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment