本文整理汇总了Java中android.databinding.Bindable类的典型用法代码示例。如果您正苦于以下问题:Java Bindable类的具体用法?Java Bindable怎么用?Java Bindable使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
Bindable类属于android.databinding包,在下文中一共展示了Bindable类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: isSelected
import android.databinding.Bindable; //导入依赖的package包/类
@Bindable
public boolean isSelected() {
if (layer == null) {
return false;
}
return layer.isSelected();
}
示例2: isVisible
import android.databinding.Bindable; //导入依赖的package包/类
@Bindable
public boolean isVisible() {
if (layer == null) {
return true;
}
return layer.isVisible();
}
示例3: isAdPlaying
import android.databinding.Bindable; //导入依赖的package包/类
@Bindable
public boolean isAdPlaying() {
return adPlaying;
}
示例4: getName
import android.databinding.Bindable; //导入依赖的package包/类
@Bindable
public String getName() {
return name;
}
示例5: getViewportHeight
import android.databinding.Bindable; //导入依赖的package包/类
@Bindable
public int getViewportHeight() {
return viewportHeight;
}
示例6: getAvatars
import android.databinding.Bindable; //导入依赖的package包/类
@Bindable
public ImagesBean getAvatars() {
return avatars;
}
示例7: getCurrentLayer
import android.databinding.Bindable; //导入依赖的package包/类
@Bindable
public Layer getCurrentLayer() {
return document.getCurrentLayer();
}
示例8: getBinding
import android.databinding.Bindable; //导入依赖的package包/类
@Bindable
public String getBinding() {
return binding;
}
示例9: getId
import android.databinding.Bindable; //导入依赖的package包/类
@Bindable
public String getId() {
return id;
}
示例10: getElaspsedTime
import android.databinding.Bindable; //导入依赖的package包/类
@Bindable
public String getElaspsedTime(){ return this.elaspsedTime; }
示例11: getItemId
import android.databinding.Bindable; //导入依赖的package包/类
@Bindable
public int getItemId() {
return itemId;
}
示例12: getAlt
import android.databinding.Bindable; //导入依赖的package包/类
@Bindable
public String getAlt() {
return alt;
}
示例13: getRight
import android.databinding.Bindable; //导入依赖的package包/类
@Bindable
public float getRight() {
return getX() + getWidth();
}
示例14: getAudioTracks
import android.databinding.Bindable; //导入依赖的package包/类
@Bindable
public List<Track> getAudioTracks() {
return audioTracks;
}
示例15: isScanning
import android.databinding.Bindable; //导入依赖的package包/类
/** @return Whether the list is currently scanning for devices. */
@Bindable
public boolean isScanning() {
return this.scanning;
}