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

Not working #56

Open
rakshithsj30 opened this issue Jan 29, 2020 · 1 comment
Open

Not working #56

rakshithsj30 opened this issue Jan 29, 2020 · 1 comment

Comments

@rakshithsj30
Copy link

rakshithsj30 commented Jan 29, 2020

i am using this json in my project

https://api.jsonbin.io/b/5e3126d03d75894195e0eff1/1
and this code:
ViewGroup viewParent;
JSONObject jsonObject = new JSONObject(response); viewParent = (ViewGroup) findViewById(R.id.parent_view_id); View sampleView = DynamicView.createView(DynamicLayoutActivity.this, jsonObject, viewParent);

xml:

`

<RelativeLayout
    android:id="@+id/parent_view_id"
    android:layout_width="match_parent"
    android:layout_height="match_parent">


</RelativeLayout>

`

Java file link:
http://s000.tinyupload.com/?file_id=16143747534494522174

but view is not showing. please help me.

@tsiougkosn
Copy link
Contributor

Hey @rakshithsj30,

Could you share and the activity_dynamic_layout resource ?

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

No branches or pull requests

2 participants