From the course: Android App Development: Design Patterns for Mobile Architecture
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Code overview - Android Tutorial
From the course: Android App Development: Design Patterns for Mobile Architecture
Code overview
- [Instructor] Let's go ahead and walk through the basic architecture that's currently being used with this application. We have three main activities, the Spy List, its Details, and the Secret Details. And you can also see those correspond to the layouts. We also have a spy cell that the list is using in its recycler view. We have some Helper methods that help us with threading. In this case, we're going to be using some RxJava as well as some Retrolambdas so that we can make the code look nicer but also have a threaded process. We have our Constants to help us with the spy cell and we have a helper method to get images from a stream name. We also have this Custom Click Listener which the cell uses to pass information on as to what cell was clicked and being able to pass this information onwards. Let's look a little bit at our Model Layer as well. We're currently using Realm as our database, and it consists of one entity right now which is this spy that we've been talking about. The…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.