android-networking
Installation
SKILL.md
Android Networking Standards
Priority: P0 (CRITICAL)
1. Configure HTTP Stack
- Use Retrofit 2 with OkHttp 4 for all backend communication.
- Use Kotlinx Serialization with
@SerialNamefor JSON field mapping. - Implement Certificate Pinning for sensitive production domains.
See setup & wrappers for DTO and API examples.
2. Define API Endpoints
- All API calls must
suspendfunctions. - Declare endpoints only in API interface — handle errors in Repository.
See setup & wrappers for API endpoint definitions.