Skip to content

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