INNER CODE UNIT · Java

isRefreshInProgress

SkyTubeTeam/SkyTube · app/src/main/java/free/rm/skytube/app/FeedUpdateTask.java:61

    public boolean isRefreshInProgress() {
        return refreshInProgress;
    }

    public synchronized boolean start(Context context) {
        if (refreshInProgress) {
            return false;
        }
        if (!SkyTubeApp.isConnected(context)) {
            return false;
        }
        createNotificationChannel(context);
        SkyTubeApp.getSettings().setRefreshSubsFeedFull(false);
        refreshInProgress = true;

        compositeDisposable.add(YouTubeTasks.refreshAllSubscriptions(context, this::processChannelIds,
                newVideosFound -> {
                    numChannelsFetched++;

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…