public void broadcastDataReceived(String s) { mChannel.mBroadcasts = TwitchJSONParser.dataToVideoList(s); if (mAdapter != null && mChannel.mBroadcasts != null) { mAdapter.updateBroadcasts(mChannel.mBroadcasts); } broadcastLoaded = true; }
public void highlightDataReceived(String s) { // downloadBroadcastData(mLoadedItems, 0); mChannel.mHighlights = TwitchJSONParser.dataToVideoList(s); if (mAdapter != null && mChannel.mHighlights != null) { mAdapter.updateHighlights(mChannel.mHighlights); } highlightsLoaded = true; // makeVisible(); }