sampleapp/src/main/java/com/clockbyte/admobadapter/sampleapp/MainActivity_RecyclerView.java
private void initUpdateAdsTimer() {
        updateAdsTimer = new Timer();
        updateAdsTimer.schedule(new TimerTask() {
            @Override
            public void run() {
                runOnUiThread(new Runnable() {
                    @Override
                    public void run() {
                        adapterWrapper.requestUpdateAd();
                    }
                });
            }
        }, 60*1000, 60*1000);
    }
private void initUpdateAdsTimer() {
        updateAdsTimer = new Timer();
        updateAdsTimer.schedule(new TimerTask() {
            @Override
            public void run() {
                runOnUiThread(new Runnable() {
                    @Override
                    public void run() {
                        adapterWrapper.requestUpdateAd();
                    }
                });
            }
        }, 60*1000, 60*1000);
    }
private void initUpdateAdsTimer ( ) { updateAdsTimer = new Timer ( ) ; updateAdsTimer . schedule ( new TimerTask ( ) { @ Override public void run ( ) { runOnUiThread ( new Runnable ( ) { @ Override public void run ( ) { adapterWrapper . requestUpdateAd ( ) ; } } ) ; } } , 60 * 1000 , 60 * 1000 ) ; }
/*
Could be omitted. It's only for updating an ad blocks in each 60 seconds without refreshing the list
/ * Could be omitted . It s only for updating an ad blocks in each 60 seconds without refreshing the list