Categories
Uncategorized

Week 5: Software Architecture

Week 5 unfolded with a renewed vigor, marking a significant escalation in our endeavors compared to the preceding weeks. We embarked on a new sprint, unveiling a plethora of tickets and ensuring a full workload for the entire team. This week, my focus was on integrating the API suggested search results with the UI using Android’s RecyclerView and accomplishing a ticket that ensures the persistence of recent search results to local storage.

Delving into the recent search results ticket was an exhilarating experience. I had the opportunity to craft a utility class, named RecentSearchesFSUtil, which seamlessly manages the logic for storing, retrieving, and gracefully truncating backfill. It meticulously ensures that each new user search is unique before it’s positioned at the forefront of the list, maintaining a streamlined history. Utilizing a doubly linked list facilitated a more reliable and manageable approach, given the stack/queue nature of the search results. Furthermore, the integration of an observable object within the utility class enabled real-time notifications to observers upon any alterations in the list, allowing for seamless recalculations of each search result on screen. This feature not only ensures separation of concerns but also guarantees file system persistence. The pull request was duly submitted within the week.

However, the journey with the API wiring ticket is still in progress. A discrepancy between the UI and the design surfaced post-integration, necessitating further refinements to align the visual elements accurately. I am retaining this ticket until we achieve alignment between the UI and the design.

This week was a harmonious blend of collaboration and individual contributions, with each member immersed in their respective tickets, many of which are interdependent. The air was abuzz with numerous phone calls and Slack “huddles,” fostering a vibrant atmosphere of collective brainstorming. It’s been an enriching journey, and my anticipation is piqued for the unfolding of the coming week and the feedback from QA on our recent pull requests.

By Robert Sale

I am a father as well as a software developer. I love my family and love my work. I like to think that my work will some day benefit society.

Leave a Reply

Your email address will not be published. Required fields are marked *