mirror of
https://github.com/LucasVbr/OutilCuisson.git
synced 2026-05-14 01:21:52 +00:00
Les fragments ça fonctionne + Interface Ajouter (pas terminée)
This commit is contained in:
@@ -6,7 +6,30 @@
|
||||
|
||||
package com.example.outilcuisson;
|
||||
|
||||
/**
|
||||
* TODO class comment
|
||||
*/
|
||||
public class AfficherFragment {}
|
||||
import android.os.Bundle;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
|
||||
import androidx.fragment.app.Fragment;
|
||||
|
||||
public class AfficherFragment extends Fragment {
|
||||
|
||||
public AfficherFragment() {}
|
||||
|
||||
public static AfficherFragment newInstance() {
|
||||
return new AfficherFragment();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
}
|
||||
|
||||
@Override
|
||||
public View onCreateView(LayoutInflater inflater, ViewGroup container,
|
||||
Bundle savedInstanceState) {
|
||||
return inflater.inflate(R.layout.afficher_fragment, container, false);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user