android_generate_list_adapter
Efficiently create Android RecyclerView adapters and layouts for DHIS2-style lists, with options for shimmer placeholders, pull-to-refresh, and sticky headers to enhance UI functionality.
Instructions
Generate Android RecyclerView adapter and layout for DHIS2-style lists
Input Schema
Name | Required | Description | Default |
---|---|---|---|
adapterName | No | Adapter class name | |
itemLayout | No | ViewBinding layout base name (e.g., item_data_element) | |
pullToRefresh | No | Include pull-to-refresh pattern | |
shimmer | No | Include shimmer placeholder pattern | |
stickyHeaders | No | Include sticky headers in list |
Input Schema (JSON Schema)
{
"properties": {
"adapterName": {
"description": "Adapter class name",
"type": "string"
},
"itemLayout": {
"description": "ViewBinding layout base name (e.g., item_data_element)",
"type": "string"
},
"pullToRefresh": {
"description": "Include pull-to-refresh pattern",
"type": "boolean"
},
"shimmer": {
"description": "Include shimmer placeholder pattern",
"type": "boolean"
},
"stickyHeaders": {
"description": "Include sticky headers in list",
"type": "boolean"
}
},
"type": "object"
}