Ejemplo n.º 1
0
 public void OnRetrieveProfileActivitySuccess(string json)
 {
     HelperMethods.ProfileActivityReponseObject profileActivity = JsonFx.Json.JsonReader.Deserialize <HelperMethods.ProfileActivityReponseObject>(json);
     if (null != profileActivity.results && profileActivity.results.Length > 0)
     {
         ITTDataCache.Instance.FlagRecommended(profileActivity.results[0].id, null, null);
     }
 }
Ejemplo n.º 2
0
 public void OnRetrieveProfileActivitySuccess(string json)
 {
     HelperMethods.ProfileActivityReponseObject profileActivity = JsonFx.Json.JsonReader.Deserialize <HelperMethods.ProfileActivityReponseObject>(json);
     if (null != profileActivity.results && profileActivity.results.Length > 0)
     {
         ITTDataCache.Instance.FlagRecommended(profileActivity.results[0].id, null, null);
         int recommendCount = global::System.Convert.ToInt32(recommendedCountLabel.text) + 1;
         recommendedCountLabel.text = recommendCount.ToString();
     }
 }