public CoreDataManager(int skillId) { skillID = skillId; AndroidJavaObject persistanceManager = AGGameState.getPersistanceManager(); if (persistanceManager != null) { result = persistanceManager.Call <AndroidJavaObject>("getResultForCategoryId", skillID); currentLevel = result.Call <int>("getCurrentLevel"); totalLevels = result.Call <int>("getTotalLevels"); categoryStatus = result.Call <int>("getCategoryStatus"); string dict = result.Call <string>("getResultDataDic"); AGGameState.setChild(persistanceManager.Call <AndroidJavaObject>("getCurrentChild")); if (dict != null) { resultDict = MiniJSON.jsonDecode(dict) as Hashtable; } } }