53 lines
1.1 KiB
Java
53 lines
1.1 KiB
Java
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;
|
|
}
|