Skip to content

Instantly share code, notes, and snippets.

@keima
Created August 26, 2015 04:56
Show Gist options
  • Save keima/43e114a27b9bf2be2019 to your computer and use it in GitHub Desktop.
Save keima/43e114a27b9bf2be2019 to your computer and use it in GitHub Desktop.
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;
import android.widget.TextView;
public class NoopFragment extends Fragment {
@Nullable
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
TextView textView = new TextView(getActivity());
textView.setText("Noop!");
return textView;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment