INNER CODE UNIT · Java

processChannelIds

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

    private synchronized void processChannelIds(List<ChannelId> channelIds) {
        SkyTubeApp.uiThread();
        numVideosFetched      = 0;
        numChannelsFetched    = 0;
        numChannelsSubscribed = channelIds.size();

        boolean hasChannels = numChannelsSubscribed > 0;
        EventBus.getInstance().notifyChannelsFound(hasChannels);

        if (hasChannels) {
            showNotification();
        } else {
            refreshInProgress = false;
        }
    }

    private void createNotificationChannel(Context context) {
        // Create the NotificationChannel, but only on API 26+ because

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…