This android framework belong to android SDK and it contains :
- graphical views ie. the navigation, list, details and action forms
- ...
List forms must inherit from ListFormFragment
You will need to implement inflateBinding()
, initRecyclerView()
, and initOnRefreshListener()
methods.
Example of implementations are EntityListFragment and MapsFragment
RecyclerView items are defined as ListItemViewHolder
Detail forms inherit from EntityDetailFragment
Code for action could be found in action package
An action is described by its model Action
An action could have some parameters and each parameters is displayed using a view that extends BaseViewHolder
Sort action is a special action the code for sorting data could be found in this class Sort
Offline action is an action that is not sent immediately (due to network problem, server not reached ...) and saved as a pending task to be sent later Code to handle and display pending task could be found in this pending tasks package
An Open url action allows user to open url in a web view inside the application (instead of external browser) Open url action is a regular action with specified parameters, the code that open url action and web view could be found in this webview package
Deep links are a type of link that sends users directly to an app instead of a web page could be launched from and email or another app
Universal link is a variation off Deep link, but it needs some configuration on server side (see 4D-Mobile-App-Server repository).
Classes that handle deep link and universal link:
Name | License | Usefulness |
---|---|---|
QMobileAPI | 4D | Network api |
QMobileDataStore | 4D | Store data |
QMobileDataSync | 4D | Synchronize data |