Skip to main content
Glama

DHIS2 MCP Server

by Dradebo

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

NameRequiredDescriptionDefault
adapterNameNoAdapter class name
itemLayoutNoViewBinding layout base name (e.g., item_data_element)
pullToRefreshNoInclude pull-to-refresh pattern
shimmerNoInclude shimmer placeholder pattern
stickyHeadersNoInclude 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" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Dradebo/dhis2-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server