Viewmodel gelöscht da nicht benötigt
This commit is contained in:
parent
6ad7617432
commit
0b6749e225
@ -1,24 +0,0 @@
|
|||||||
package com.example.aped.ui.all_IOs;
|
|
||||||
|
|
||||||
import androidx.lifecycle.LiveData;
|
|
||||||
import androidx.lifecycle.MutableLiveData;
|
|
||||||
import androidx.lifecycle.ViewModel;
|
|
||||||
|
|
||||||
public class AllIOsViewModel extends ViewModel {
|
|
||||||
/** .*/
|
|
||||||
private MutableLiveData<String> mText;
|
|
||||||
/** Text Ablage.*/
|
|
||||||
public AllIOsViewModel() {
|
|
||||||
mText = new MutableLiveData<>();
|
|
||||||
mText.setValue("Anzeige aller Mess & Sollwertvorgaben bestimmt durch"
|
|
||||||
+ " die xml");
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @return mText
|
|
||||||
*/
|
|
||||||
public LiveData<String> getText() {
|
|
||||||
return mText;
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,23 +0,0 @@
|
|||||||
package com.example.aped.ui.your_IOs;
|
|
||||||
|
|
||||||
import androidx.lifecycle.LiveData;
|
|
||||||
import androidx.lifecycle.MutableLiveData;
|
|
||||||
import androidx.lifecycle.ViewModel;
|
|
||||||
|
|
||||||
public class YourIOsViewModel extends ViewModel {
|
|
||||||
/** .*/
|
|
||||||
private MutableLiveData<String> mText;
|
|
||||||
/** Text Ablage.*/
|
|
||||||
public YourIOsViewModel() {
|
|
||||||
mText = new MutableLiveData<>();
|
|
||||||
mText.setValue("Personalisierte Anzeige der Mess- & Sollwerte");
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @return test Rückgabe
|
|
||||||
*/
|
|
||||||
public final LiveData<String> getText() {
|
|
||||||
return mText;
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user