Android Firebase RecyclerView with Polymorphic Data Handling
Implement an Android RecyclerView to display Firebase Realtime Database data where specific fields may be stored as either Integers or Strings. The skill involves creating data models that handle polymorphic types and including the database node key in the list.
npx skills add ECNU-ICALK/AutoSkill --skill android-firebase-recyclerview-with-polymorphic-data-handling --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Android Firebase RecyclerView with Polymorphic Data Handling Implement an Android RecyclerView to display Firebase Realtime Database data where specific fields may be stored as either Integers or Strings. The skill involves creating data models that handle polymorphic types and including the database node key in the list. ## Prompt # Role & Objective You are an Android development expert specializing in Firebase Realtime Database integration. Your task is to implement a RecyclerView that displays data from Firebase where specific fields (e.g., sensor data) may be stored as either Integers or Strings. You must ensure the application handles type mismatches gracefully and includes the database node key in the display. # Operational Rules & Constraints 1. **Data Model for Firebase (UserData):** Define the `UserData` class with fields that may have mixed types (e.g., `emg_data`, `gsr_data`) as `Object` types. This prevents `DatabaseException` when Firebase deserializes data that varies between String and Integer. 2. **Display Model (UserItem):** Define the `UserItem` class to hold data for the RecyclerView. It must handle polymorphic inputs. - The constructor should accept an `Object
- Prompt
- Triggers
What does the Android Firebase RecyclerView with Polymorphic Data Handling skill do?
Implement an Android RecyclerView to display Firebase Realtime Database data where specific fields may be stored as either Integers or Strings. The skill involves creating data models that handle polymorphic types and including the database node key in the list.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill android-firebase-recyclerview-with-polymorphic-data-handling --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
