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