Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Hideki Itakura
    @hideki
    please use https://gitter.im/couchbase/couchbase-lite-java-core for any Couchbase Android and Java
    reuelkb
    @reuelkb
    Hello, I was curious what version of Xamarin is targeted by CouchbaseLite 1.2?
    Hitesh Dhamshaniya
    @hitesh-dhamshaniya
    Hello there
    I am using Couchbase-lite for my android application.
    I have list of recipe data in an Activity with toolbar
    now I have to implement search functionality
    Hitesh Dhamshaniya
    @hitesh-dhamshaniya
    I used a query adapter as per to-do-lite demo
    public AllRecipeAdapter(Activity activity, ClickListner clickListner, LiveQuery query) {
    this.mActivity = activity;
    this.mClickListner = clickListner;
    this.mQuery = query;
    this.aListDocIds = new ArrayList<>();
    refeshData();
    }
    private void refeshData() {
        mQuery.addChangeListener(new LiveQuery.ChangeListener() {
            @Override
            public void changed(final LiveQuery.ChangeEvent event) {
                ((Activity) mActivity).runOnUiThread(new Runnable() {
                    @Override
                    public void run() {
                        enumerator = event.getRows();
                        notifyDataSetChanged();
                    }
                });
            }
        });
        mQuery.start();
        notifyDataSetChanged();
        Log.e("", "refeshData: ");
    }
    As I am not storing data in ArrayList, I can't apply Predicate on it. can you please help me out on same.
    Hitesh Dhamshaniya
    @hitesh-dhamshaniya
    NO ONE ACTIVE HERE
    IT'S WAST OF TIME?