Merge pull request #5239 from osmandapp/JsonContentsParser
Json contents parser
This commit is contained in:
commit
3e13449e5f
2 changed files with 2 additions and 2 deletions
0
OsmAnd/assets/article_style.css
Normal file → Executable file
0
OsmAnd/assets/article_style.css
Normal file → Executable file
|
@ -22,7 +22,7 @@ import java.net.URLDecoder;
|
||||||
* Custom WebView client to handle the internal links.
|
* Custom WebView client to handle the internal links.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class CustomWebViewClient extends WebViewClient {
|
public class WikivoyageWebViewClient extends WebViewClient {
|
||||||
|
|
||||||
private OsmandApplication app;
|
private OsmandApplication app;
|
||||||
private FragmentManager mFragmentManager;
|
private FragmentManager mFragmentManager;
|
||||||
|
@ -31,7 +31,7 @@ public class CustomWebViewClient extends WebViewClient {
|
||||||
private static final String PAGE_PREFIX = "https://";
|
private static final String PAGE_PREFIX = "https://";
|
||||||
private static final String WEB_DOMAIN = ".wikivoyage.com/wiki/";
|
private static final String WEB_DOMAIN = ".wikivoyage.com/wiki/";
|
||||||
|
|
||||||
public CustomWebViewClient(FragmentActivity context, FragmentManager fm) {
|
public WikivoyageWebViewClient(FragmentActivity context, FragmentManager fm) {
|
||||||
app = (OsmandApplication) context.getApplication();
|
app = (OsmandApplication) context.getApplication();
|
||||||
mFragmentManager = fm;
|
mFragmentManager = fm;
|
||||||
mContext = context;
|
mContext = context;
|
Loading…
Reference in a new issue