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

Unified Diff: README.md

Issue 29678590: Issue 6307 - Introduce external engine created callback (Closed)
Patch Set: introduced custom listener interfaces Created Jan. 26, 2018, 12:46 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 e6ce27f8d41a68c3e0d7c3289bd08e4e12bd28ce..4ef43fbdf7c3778c0ef729c8e0a51faa8e11f361 100644
--- a/README.md
+++ b/README.md
@@ -230,6 +230,21 @@ Or you can use AdblockHelper:
// optional - provide preloaded subscription files in app resoruces
.preloadSubscriptions(AdblockHelper.PRELOAD_PREFERENCE_NAME, map);
+Sometimes it's desired to initialize or deinitialize FilterEngine instance
+when created:
+
+ AdblockHelper
+ .get()
+ .init(...)
+ .addEngineCreatedListener(engineCreatedListener)
+
+or disposed:
+
+ AdblockHelper
+ .get()
+ .init(...)
+ .addEngineDisposedListener(engineDisposedListener)
+
Implement the following interfaces in your settings activity:
* `BaseSettingsFragment.Provider`

Powered by Google App Engine
This is Rietveld