本文整理匯總了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;
}