Wednesday, 5 September 2018

How do you process large amount of data to be render?

In the below code example, 50 thousand Customer needs to be loaded using ListView or RecyclerView

// current process, I am using pagination to load items
List<Customer> customers = mCustomerModule.get(limit, offset);
mAdapter.addItems(customer);

  • Couchbase lite version 1.3
  • The retrieval of customers is made by views

Problem

  1. Slow when scrolling, when reached a high amount of customers

Question

  1. Does my pagination process slow down the performance?
  2. Couchbase lite 1.3 views are really slow?

Goal

  1. Improve performance
  2. Smoothen viewing of customer list


from How do you process large amount of data to be render?

No comments:

Post a Comment