質問編集履歴

3

WebViewのコードを貼り付け

2018/01/17 09:08

投稿

kotsukotsu
kotsukotsu

スコア12

test CHANGED
File without changes
test CHANGED
@@ -21,3 +21,29 @@
21
21
 
22
22
 
23
23
  宜しくお願いします。
24
+
25
+
26
+
27
+ ```lang-C++
28
+
29
+ bool WebViewImpl::shouldStartLoading(const int viewTag, const std::string &url) {
30
+
31
+ auto it = s_WebViewImpls.find(viewTag);
32
+
33
+ if (it != s_WebViewImpls.end()) {
34
+
35
+ auto webView = s_WebViewImpls[viewTag]->_webView;
36
+
37
+ if (webView->shouldStartLoading) {
38
+
39
+ return webView->shouldStartLoading(webView, url);
40
+
41
+ }
42
+
43
+ }
44
+
45
+ return true;
46
+
47
+ }
48
+
49
+ ```

2

参考URLにリンクを設定しました

2018/01/17 09:08

投稿

kotsukotsu
kotsukotsu

スコア12

test CHANGED
File without changes
test CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  そのため今回はこれのAndroid対応をしたいです。
8
8
 
9
- https://qiita.com/tarappo/items/1829697bd8078bbf45d1
9
+ [https://qiita.com/tarappo/items/1829697bd8078bbf45d1](https://qiita.com/tarappo/items/1829697bd8078bbf45d1)
10
10
 
11
11
 
12
12
 

1

タグを追加しました

2018/01/17 09:05

投稿

kotsukotsu
kotsukotsu

スコア12

test CHANGED
File without changes
test CHANGED
File without changes