I'm using an android library called Proteus which inflates layouts during run time with a JSON file we have sitting on our server. This library allows for data binding but my question is how can I get data out of these fields while using my app? I can't reference any of the identifiers of the layout because they don't exist during compilation. Is there a way to ignore the error in the statement when (R.id.input) doesn't actually exist until runtime?:
View view = inflater.infalte(R.layout.fragment_form, container, false);
TextView textView = (TextView)view.findViewById(R.id.input);
Or possibly programmatically get a list of all available unique identifiers during runtime? Any info would be helpful. Thank you.