我尝试使用Android Hive进行数据绑定,并且返回以下错误
无法解析符号'BR'
我该如何解决?
User.java
public class User extends BaseObservable {
String name;
String email;
String profileImage;
String about;
public ObservableField<Long> numberOfFollowers = new ObservableField<>();
public ObservableField<Long> numberOfPosts = new ObservableField<>();
public ObservableField<Long> numberOfFollowing = new ObservableField<>();
public User(){
}
@Bindable
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
notifyPropertyChanged(**com.azhardevelop.example.com.databindingtesting.BR**.name);
}