From 39e97dcfde1b0937f1ce426d30071b3179bb5cf8 Mon Sep 17 00:00:00 2001 From: diogojayme <109307044+diogojayme@users.noreply.github.com> Date: Mon, 12 Aug 2024 15:28:51 -0400 Subject: [PATCH] Update README.md --- README.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 4e6f24b..b6d2354 100644 --- a/README.md +++ b/README.md @@ -6,18 +6,15 @@ We are excited to start the technical interview process for an Android engineer This project fetches the list of stories using an endpoint and displays it in a `RecyclerView`. But it does it in a very inefficient way and we think it can be optimised. -### Requirement: - +### Requirement The goal of the coding challenge is to create an Android application that efficiently displays a large list of stories. The app should be able to handle a dataset of 10,000 stories and allow users to scroll through them smoothly without experiencing significant lag or performance issues. Use Jetpack Compose to build the UI and MVVM + CLEAN architecture as the primary design pattern. -### Inefficient Solution: - +### Inefficient Solution The starter project provided here implements a native Android solution that uses a ListView to display the list of stories. This approach is inefficient because it loads all 10,000 stories into memory at once, even though only a few of them are visible on the screen at any given time. This can lead to performance issues, especially on devices with limited memory. -### Clarifying Requirement: - +### Clarifying Requirement To ensure that you have a clear understanding of the requirement, here are some additional points to consider: The stories are represented as simple data objects with properties such as title, author, and a short description. The app should allow users to infinitely scroll through the list of stories vertically.