@Override protected void onCreate(Bundle savedInstanceState) { setContentView(R.layout.activity_find_course_info); super.onCreate(savedInstanceState); try { environment.getSegment().screenViewsTracking(ISegment.Values.COURSE_INFO_SCREEN); } catch (Exception e) { logger.error(e); } }
@Override protected void onStart() { super.onStart(); String pathId = getIntent().getStringExtra(EXTRA_PATH_ID); String url = environment .getConfig() .getEnrollmentConfig() .getCourseInfoUrlTemplate() .replace("{" + EXTRA_PATH_ID + "}", pathId); WebView webview = (WebView) findViewById(R.id.webview); webview.loadUrl(url); }