|
tl;dr - Generate A Form with different types of widgets on the fly.
Write a view fragment/activity which generates a form as per the schema obtained from the Mifos API.
API to fetch DataTables https://demo.openmf.org/api-docs/apiLive.htm#datatables_list
API to fetch DataTable Schema https://demo.openmf.org/api-docs/apiLive.htm#datatables_getTable
Based on the schema add TextView for Strings, TextView with additional options for Decimals and/or Numeric Inputs, Spinner for Dropdown values. (See Code - CodeValues in the API Documentation)
|