sdf
This commit is contained in:
52
app/src/main/java/entity/MyUserFEntity.java
Normal file
52
app/src/main/java/entity/MyUserFEntity.java
Normal file
@@ -0,0 +1,52 @@
|
||||
package entity;
|
||||
|
||||
import android.databinding.BaseObservable;
|
||||
import android.databinding.Bindable;
|
||||
import com.sl.house_property.BR;
|
||||
public class MyUserFEntity<T> extends BaseObservable
|
||||
{@Bindable
|
||||
private String titile;
|
||||
@Bindable
|
||||
private int imagetResource;
|
||||
@Bindable
|
||||
private Class<T> myclazz;
|
||||
|
||||
public String getTitile() {
|
||||
return titile;
|
||||
}
|
||||
|
||||
public void setTitile(String titile) {
|
||||
this.titile = titile;
|
||||
notifyPropertyChanged(BR.titile);
|
||||
}
|
||||
|
||||
public int getImagetResource() {
|
||||
return imagetResource;
|
||||
}
|
||||
|
||||
public void setImagetResource(int imagetResource) {
|
||||
this.imagetResource = imagetResource;
|
||||
notifyPropertyChanged(BR.imagetResource);
|
||||
}
|
||||
|
||||
public Class<T> getMyclazz() {
|
||||
return myclazz;
|
||||
}
|
||||
|
||||
public void setMyclazz(Class<T> myclazz) {
|
||||
this.myclazz = myclazz;
|
||||
notifyPropertyChanged(BR.myclazz);
|
||||
}
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
notifyPropertyChanged( BR.id);
|
||||
}
|
||||
|
||||
@Bindable
|
||||
|
||||
private String id;
|
||||
}
|
||||
Reference in New Issue
Block a user