Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: README.md

Issue 29389555: Issue 5010 - Allow to preload subscription files (Closed)
Patch Set: force downloading actually Created March 30, 2017, 10:12 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: README.md
diff --git a/README.md b/README.md
index 41bff073f400f69c1d0d0019d8c7685fff9e09fc..579b10b085632feff9f0ac5fc6a809bcccd4d1c8 100644
--- a/README.md
+++ b/README.md
@@ -158,6 +158,9 @@ Or you can use AdblockHelper:
AdblockHelper.get().init(this, true, AdblockHelper.PREFERENCE_NAME);
+ // optional - provide preloaded subscription files in app resoruces
+ AdblockHelper.get().preloadSubscriptions(AdblockHelper.PRELOAD_PREFERENCE_NAME, map);
+
Implement the following interfaces in your settings activity:
* `BaseSettingsFragment.Provider`

Powered by Google App Engine
This is Rietveld