示例#1
0
 public void broadcastDataReceived(String s) {
   mChannel.mBroadcasts = TwitchJSONParser.dataToVideoList(s);
   if (mAdapter != null && mChannel.mBroadcasts != null) {
     mAdapter.updateBroadcasts(mChannel.mBroadcasts);
   }
   broadcastLoaded = true;
 }
示例#2
0
 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();
 }