private void discoverContent(Activity activity) {
        discoveryRepeatCnt_ = 0;
        if (discoveredViewList_.size() < cdManifest_.getMaxViewHistorySize()) { // check if max discovery views reached
            handler_.removeCallbacks(readContentRunnable);
            lastActivityReference_ = new WeakReference<>(activity);
            handler_.postDelayed(readContentRunnable, VIEW_SETTLE_TIME);
        }
    }
private void discoverContent ( Activity activity ) { discoveryRepeatCnt_ = 0 ; if ( discoveredViewList_ . size ( ) < cdManifest_ . getMaxViewHistorySize ( ) ) { handler_ . removeCallbacks ( readContentRunnable ) ; lastActivityReference_ = new WeakReference < > ( activity ) ; handler_ . postDelayed ( readContentRunnable , VIEW_SETTLE_TIME ) ; } }
---------------Private methods----------------------//