Created
April 8, 2020 22:22
-
-
Save ZieIony/9a9fe46a4c96992165a118f77553e1e2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| abstract class PluginProvider : ContentProvider() { | |
| abstract fun getPlugin(): Plugin | |
| override fun onCreate(): Boolean { | |
| PluginManager.registerPlugin(getPlugin()) | |
| return true | |
| } | |
| // ... other provider methods | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment