What to declare in place of the setContentView in the fragment layout?

0

I can not declare this last part of the code (the setContentView ...)

package com.example.cliente.postit;


import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.View;



public class postActivity extends Fragment {

@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    // Ele não aceita essa ultima frase
}
    
asked by anonymous 11.05.2018 / 03:45

0 answers