ZZomato·BehavioralL3Machine Coding

Android Feature Implementation Scenario Questions

viaGlassdoor

Q: Given a feature requirement (e.g., 'implement infinite scroll with pull-to-refresh' or 'show a badge count that updates in real time'), how would you implement it on Android? A: Expect scenario-based questions where you walk through the Android-specific implementation: choosing between a RecyclerView with a pagination library (Paging 3) vs manual scroll-listener-based loading for infinite scroll; using SwipeRefreshLayout or a custom pull-to-refresh gesture detector; handling configuration changes (rotation) without losing scroll position/state via ViewModel; and how you'd keep a real-time badge count in sync (LiveData/StateFlow observing a repository backed by a WebSocket or push notification). Interviewers assess whether you reason about lifecycle-awareness, state restoration, and Android's component model rather than just generic algorithms.

Add a follow-up question they asked
No follow-ups yet. Be the first to add one.
asked …
LeaderboardSalary
Language
Account