Merge pull request #5239 from osmandapp/JsonContentsParser

Json contents parser
This commit is contained in:
Alexey 2018-04-15 13:48:23 +03:00 committed by GitHub
commit 3e13449e5f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

0
OsmAnd/assets/article_style.css Normal file → Executable file
View file

View 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;