use of com.zype.android.webapi.model.settings.ContentSettingsData in project zype-android by zype.
the class TermsActivity method handleContentSettingsEvent.
@Subscribe
public void handleContentSettingsEvent(ContentSettingsEvent event) {
Logger.d("handleContentSettingsEvent()");
List<ContentSettingsData> data = event.getEventData().getModelData().getData();
for (ContentSettingsData item : data) {
if (item.getFriendlyTitle().equals("privacy_policy")) {
((WebView) findViewById(R.id.terms_webview)).loadData(item.getDescription(), "text/html", "UTF-8");
return;
}
}
}
Aggregations