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); } }
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(); } }