public void SetBgImageURL(string bgImageURL) { if (bgImageURL != null) { Application app = GlobalApplication.GetGlobalApplicationContext(); if (app == null) { throw new UnsupportedOperationException("needs com.kakao.GlobalApplication in order to use ImageLoader"); } background.SetImageUrl(bgImageURL, ((GlobalApplication)app).GetImageLoader()); } }
/** * 프로필 이미지에 대해 view를 update한다. * * @param profileImageURL 화면에 반영할 프로필 이미지 */ public void SetProfileURL(string profileImageURL) { if (profile != null && profileImageURL != null) { Application app = GlobalApplication.GetGlobalApplicationContext(); if (app == null) { throw new UnsupportedOperationException("needs com.kakao.GlobalApplication in order to use ImageLoader"); } profile.SetImageUrl(profileImageURL, ((GlobalApplication)app).GetImageLoader()); } }