Java Examples

The following examples show how to use 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 Project: letv   Author: JackChan1999   File:    License: Apache License 2.0 5 votes vote down vote up
AdapterHelper(Callback callback, boolean disableRecycler) {
    this.mUpdateOpPool = new SimplePool(30);
    this.mPendingUpdates = new ArrayList();
    this.mPostponedList = new ArrayList();
    this.mExistingUpdateTypes = 0;
    this.mCallback = callback;
    this.mDisableRecycler = disableRecycler;
    this.mOpReorderer = new OpReorderer(this);
Example #2
Source Project: react-native-GPay   Author: hellochirag   File:    License: MIT License 4 votes vote down vote up
protected SimplePool<DynamicFromMap> initialValue() {
  return new SimplePool<>(10);