You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prepare native implementations extending the native class. Create an interface for what is needed by your application and let all the native implementations implement it.
This is related to the Xamarin DependencyService, and was initially aimed to be used with #13. It can be tweaked and be used for internal haxe dependences
The text was updated successfully, but these errors were encountered:
Instructions for services & multi targeting
Prepare native implementations extending the native class. Create an interface for what is needed by your application and let all the native implementations implement it.
.. where A, B and C represents different platforms
Register during initialisation:
Later anywhere in the code, get service with implementation of the runtime platform:
See tests for dep usage: https://github.com/Lelelo1/seek-search/blob/master/src/DepTests.hx#L33
This is related to the Xamarin DependencyService, and was initially aimed to be used with #13. It can be tweaked and be used for internal haxe dependences
The text was updated successfully, but these errors were encountered: