androidx.databinding.Bindable Java Examples

The following examples show how to use androidx.databinding.Bindable. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: LoginForm.java    From android-MVVM-DataBinding-FormExample with MIT License 5 votes vote down vote up
@Bindable
public boolean isValid() {
    boolean valid = isEmailValid(false);
    valid = isPasswordValid(false) && valid;
    notifyPropertyChanged(BR.emailError);
    notifyPropertyChanged(BR.passwordError);
    return valid;
}
 
Example #2
Source File: ReportViewModel.java    From exodus-android-app with GNU General Public License v3.0 5 votes vote down vote up
@Bindable
public boolean getHasPermissionDangerous() {
    for(Permission perm : reportDisplay.permissions) {
        if(perm.dangerous)
            return true;
    }
    return false;
}
 
Example #3
Source File: CollectUrlBean.java    From CloudReader with Apache License 2.0 4 votes vote down vote up
@Bindable
public String getLink() {
    return link;
}
 
Example #4
Source File: BookDetailBean.java    From CloudReader with Apache License 2.0 4 votes vote down vote up
@Bindable
public String getPublisher() {
    return publisher;
}
 
Example #5
Source File: GankIoDataBean.java    From CloudReader with Apache License 2.0 4 votes vote down vote up
@Bindable
public String getPublishedAt() {
    return publishedAt;
}
 
Example #6
Source File: HomeListBean.java    From CloudReader with Apache License 2.0 4 votes vote down vote up
@Bindable
public List<ArticlesBean> getDatas() {
    return datas;
}
 
Example #7
Source File: BookDetailBean.java    From CloudReader with Apache License 2.0 4 votes vote down vote up
@Bindable
public String getBinding() {
    return binding;
}
 
Example #8
Source File: CollectUrlBean.java    From CloudReader with Apache License 2.0 4 votes vote down vote up
@Bindable
public String getName() {
    return name;
}
 
Example #9
Source File: BookBean.java    From CloudReader with Apache License 2.0 4 votes vote down vote up
@Bindable
public List<BooksBean> getBooks() {
    return books;
}
 
Example #10
Source File: CollectUrlBean.java    From CloudReader with Apache License 2.0 4 votes vote down vote up
@Bindable
public String getDesc() {
    return desc;
}
 
Example #11
Source File: GankIoDataBean.java    From CloudReader with Apache License 2.0 4 votes vote down vote up
@Bindable
public String getCreatedAt() {
    return createdAt;
}
 
Example #12
Source File: BookDetailBean.java    From CloudReader with Apache License 2.0 4 votes vote down vote up
@Bindable
public String getSubtitle() {
    return subtitle;
}
 
Example #13
Source File: CollectUrlBean.java    From CloudReader with Apache License 2.0 4 votes vote down vote up
@Bindable
public int getId() {
    return id;
}
 
Example #14
Source File: RatingBean.java    From CloudReader with Apache License 2.0 4 votes vote down vote up
@Bindable
public int getMin() {
    return min;
}
 
Example #15
Source File: TasksViewModel.java    From simple-stack with Apache License 2.0 4 votes vote down vote up
@Bindable
public boolean isEmpty() {
    return items.isEmpty();
}
 
Example #16
Source File: FileSenderListener.java    From grblcontroller with GNU General Public License v3.0 4 votes vote down vote up
@Bindable
public String getStatus(){ return this.status; }
 
Example #17
Source File: FileSenderListener.java    From grblcontroller with GNU General Public License v3.0 4 votes vote down vote up
@Bindable
public String getElapsedTime(){ return this.elapsedTime; }
 
Example #18
Source File: DuanZiBean.java    From CloudReader with Apache License 2.0 4 votes vote down vote up
@Bindable
public long getCreateTime() {
    return createTime;
}
 
Example #19
Source File: FileSenderListener.java    From grblcontroller with GNU General Public License v3.0 4 votes vote down vote up
@Bindable
public long getJobStartTime(){ return this.jobStartTime; }
 
Example #20
Source File: FileSenderListener.java    From grblcontroller with GNU General Public License v3.0 4 votes vote down vote up
@Bindable
public Integer getRowsSent(){ return this.rowsSent; }
 
Example #21
Source File: SubjectsBean.java    From CloudReader with Apache License 2.0 4 votes vote down vote up
@Bindable
public String getAlt() {
    return alt;
}
 
Example #22
Source File: FileSenderListener.java    From grblcontroller with GNU General Public License v3.0 4 votes vote down vote up
@Bindable
public File getGcodeFile(){ return this.gcodeFile; }
 
Example #23
Source File: FileSenderListener.java    From grblcontroller with GNU General Public License v3.0 4 votes vote down vote up
@Bindable
public String getGcodeFileName(){ return this.gcodeFileName; }
 
Example #24
Source File: SubjectsBean.java    From CloudReader with Apache License 2.0 4 votes vote down vote up
@Bindable
public List<String> getGenres() {
    return genres;
}
 
Example #25
Source File: MachineStatusListener.java    From grblcontroller with GNU General Public License v3.0 4 votes vote down vote up
@Bindable
public CompileTimeOptions getCompileTimeOptions(){ return this.compileTimeOptions; }
 
Example #26
Source File: BooksBean.java    From CloudReader with Apache License 2.0 4 votes vote down vote up
@Bindable
public String getAverage() {
    return average;
}
 
Example #27
Source File: MachineStatusListener.java    From grblcontroller with GNU General Public License v3.0 4 votes vote down vote up
@Bindable
public AccessoryStates getAccessoryStates(){ return this.accessoryStates; }
 
Example #28
Source File: CoinUserInfoBean.java    From CloudReader with Apache License 2.0 4 votes vote down vote up
@Bindable
public int getCoinCount() {
    return coinCount;
}
 
Example #29
Source File: HotMovieBean.java    From CloudReader with Apache License 2.0 4 votes vote down vote up
@Bindable
public int getStart() {
    return start;
}
 
Example #30
Source File: MachineStatusListener.java    From grblcontroller with GNU General Public License v3.0 4 votes vote down vote up
@Bindable
public Jogging getJogging(){ return this.jogging; }