// Path: app/src/main/java/com/github/aleksandermielczarek/realmrepositoryexample/entity/User.java
// public class User extends RealmObject {
// 
//     @PrimaryKey
//     private String id;
// 
//     private String name;
//     private String surname;
// 
//     public String getId() {
//         return id;
//     }
// 
//     public void setId(String id) {
//         this.id = id;
//     }
// 
//     public String getName() {
//         return name;
//     }
// 
//     public void setName(String name) {
//         this.name = name;
//     }
// 
//     public String getSurname() {
//         return surname;
//     }
// 
//     public void setSurname(String surname) {
//         this.surname = surname;
//     }
// }
// 
// Path: app/src/main/java/com/github/aleksandermielczarek/realmrepositoryexample/repository/UserRepository.java
// @RealmRepository(autoGenerateId = true)
// public interface UserRepository extends Repository<User, String> {
// }


import android.databinding.ObservableArrayList;
import android.databinding.ObservableBoolean;
import android.databinding.ObservableField;
import android.databinding.ObservableList;
import android.text.TextUtils;
import com.github.aleksandermielczarek.realmrepositoryexample.BR;
import com.github.aleksandermielczarek.realmrepositoryexample.R;
import com.github.aleksandermielczarek.realmrepositoryexample.entity.User;
import com.github.aleksandermielczarek.realmrepositoryexample.repository.UserRepository;
import javax.inject.Inject;
import me.tatarka.bindingcollectionadapter.ItemView;
import rx.Observable;
import rx.Subscription;
import rx.android.schedulers.AndroidSchedulers;
import rx.schedulers.Schedulers;
package com.github.aleksandermielczarek.realmrepositoryexample.ui;





/**
 * Created by Aleksander Mielczarek on 21.09.2016.
 */

public class MainViewModel {

    public final ObservableList<User> users = new ObservableArrayList<>();
    public final ItemView userView = ItemView.of(BR.viewModel, R.layout.item_user);
// Path: app/src/main/java/com/github/aleksandermielczarek/realmrepositoryexample/entity/User.java
// public class User extends RealmObject {
// 
//     @PrimaryKey
//     private String id;
// 
//     private String name;
//     private String surname;
// 
//     public String getId() {
//         return id;
//     }
// 
//     public void setId(String id) {
//         this.id = id;
//     }
// 
//     public String getName() {
//         return name;
//     }
// 
//     public void setName(String name) {
//         this.name = name;
//     }
// 
//     public String getSurname() {
//         return surname;
//     }
// 
//     public void setSurname(String surname) {
//         this.surname = surname;
//     }
// }
// 
// Path: app/src/main/java/com/github/aleksandermielczarek/realmrepositoryexample/repository/UserRepository.java
// @RealmRepository(autoGenerateId = true)
// public interface UserRepository extends Repository<User, String> {
// }


// Path: app/src/main/java/com/github/aleksandermielczarek/realmrepositoryexample/ui/MainViewModel.java
import android.databinding.ObservableArrayList;
import android.databinding.ObservableBoolean;
import android.databinding.ObservableField;
import android.databinding.ObservableList;
import android.text.TextUtils;
import com.github.aleksandermielczarek.realmrepositoryexample.BR;
import com.github.aleksandermielczarek.realmrepositoryexample.R;
import com.github.aleksandermielczarek.realmrepositoryexample.entity.User;
import com.github.aleksandermielczarek.realmrepositoryexample.repository.UserRepository;
import javax.inject.Inject;
import me.tatarka.bindingcollectionadapter.ItemView;
import rx.Observable;
import rx.Subscription;
import rx.android.schedulers.AndroidSchedulers;
import rx.schedulers.Schedulers;

package com.github.aleksandermielczarek.realmrepositoryexample.ui;





/**
 * Created by Aleksander Mielczarek on 21.09.2016.
 */

public class MainViewModel {

    public final ObservableList<User> users = new ObservableArrayList<>();
    public final ItemView userView = ItemView.of(BR.viewModel, R.layout.item_user);
    public final ObservableField<User> newUser = new ObservableField<>();