Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds aar publishing, introduces background parsing #43

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

fcopardo
Copy link

-Updated gradle version to 3.3
-Adds the dcendents plugin to enable installation of compiled aar library or importing through jitpack;
-Adds the first DynamicView.createViewAsync method, allowing to parse and create a view in a background thread (not an asynctask; an asynctask limits what the user can do with a view in the background). This method uses a listener, DynamicView.OnJsonParsedAsView, with three methods:
-onBackgroundChanges(View view): Allows to perform adjustements to the view after parsing the json, but before leaving the background thread. Keep in mind this operations must be allowed by the sdk.
-onSuccess(View view): Final callback, performed in the UI thread after parsing the JSON and getting a view from that.
-onFailure(): Final callback, performed in the UI thread after parsing the JSON and getting nothing from that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant