You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -14,12 +19,28 @@ class HinataFragment : Fragment() {
14
19
container:ViewGroup?,
15
20
savedInstanceState:Bundle?
16
21
): View? {
17
-
val rootView = inflater.inflate(net.lmlab.m_tsunami_android.R.layout.fragment_hinata, container, false)
22
+
val rootView = inflater.inflate(R.layout.fragment_hinata, container, false)
18
23
19
-
val url ="https://kenzkenz.xsrv.jp/aaa/#13/131.44455/31.92127%3FS%3D1%26L%3D%5B%5B%7B%22id%22%3A%22shinsuishin%22%2C%22o%22%3A1%7D%2C%7B%22id%22%3A1%2C%22o%22%3A1%7D%5D%2C%5B%7B%22id%22%3A2%2C%22o%22%3A1%2C%22c%22%3A%22%22%7D%5D%2C%5B%7B%22id%22%3A4%2C%22o%22%3A1%2C%22c%22%3A%22%22%7D%5D%2C%5B%7B%22id%22%3A5%2C%22o%22%3A1%2C%22c%22%3A%22%22%7D%5D%5D"
20
-
val view = rootView.findViewById(net.lmlab.m_tsunami_android.R.id.webView) asWebView
21
-
view.settings.javaScriptEnabled =true
22
-
view.loadUrl(url)
24
+
val progressBar = rootView.findViewById(R.id.progressBar) asProgressBar
25
+
26
+
val webView = rootView.findViewById(R.id.webView) asWebView
0 commit comments