private void loadWebScreenlet()
        {
            WebScreenletConfiguration webScreenletConfiguration = new WebScreenletConfiguration
                                                                  .Builder("/web/westeros-hybrid/documents")
                                                                  .AddRawJs(Resource.Raw.js_master, "js_master.js")
                                                                  .AddRawCss(Resource.Raw.css_master, "css_master.css")
                                                                  .Load();

            webScreenlet.SetWebScreenletConfiguration(webScreenletConfiguration);
            webScreenlet.Listener = this;

            webScreenlet.Load();
        }
Ejemplo n.º 2
0
        void LoadWebScreenlet()
        {
            WebScreenlet WebScreenlet =
                (WebScreenlet)FindViewById(Resource.Id.web_screenlet);

            var Url = LanguageHelper.Url(LanguageHelper.Pages.Index);

            WebScreenletConfiguration webScreenletConfiguration = new WebScreenletConfiguration
                                                                  .Builder(Url)
                                                                  .SetWebType(WebType.Other)
                                                                  .AddRawJs(Resource.Raw.menu_js, "menu_js.js")
                                                                  .AddRawCss(Resource.Raw.menu_css, "menu_css.css")
                                                                  .Load();

            WebScreenlet.SetWebScreenletConfiguration(webScreenletConfiguration);
            WebScreenlet.Listener = this;
            WebScreenlet.Load();
        }