projects/moments/app/src/main/java/io/v/moments/lib/DiscoveredList.java
/**
     * Accept the advertisement if it's not on the reject list.
     */
Accept the advertisement if it's not on the reject list.
Accept the advertisement if it ' s not on the reject list .
@Override
    public void handleFoundAdvertisement(Advertisement advertisement) {
        final Id id = Id.fromAdId(advertisement.getId());
        if (mRejects.contains(id)) {
            return;
        }
        final T item = mConverter.make(advertisement);
        if (item == null) {
            return;
        }
        mHandler.post(
                new Runnable() {
                    @Override
                    public void run() {
                        push(item);
                    }
                });
    }
@ Override public void handleFoundAdvertisement ( Advertisement advertisement ) { final Id id = Id . fromAdId ( advertisement . getId ( ) ) ; if ( mRejects . contains ( id ) ) { return ; } final T item = mConverter . make ( advertisement ) ; if ( item == null ) { return ; } mHandler . post ( new Runnable ( ) { @ Override public void run ( ) { push ( item ) ; } } ) ; }
Accept the advertisement if it's not on the reject list.
Accept the advertisement if it ' s not on the reject list .