To learn all about the Multi-Window feature and resizable apps, you’ll work on not one, but two apps!
The first app is the Wall Of Text app, which serves as a note-taking app that you can use to write down many cool things, such as notes about our wonderful video course that you can watch using our raywenderlich.com Emitron app!
The second app is just a companion app, called Droppey, that you’ll use to learn about the Drag & Drop feature that’s especially useful when using the multi-window mode.
By working on Wall Of Text, you’ll learn how to enable resizable apps, how to react to multi-window mode changes and update your app based on configuration updates through an Android lifecycle callback.
You’ll also learn how to enable the Drag & Drop, and enable sharing data through Drag & Drop across multiple apps. Then you’ll switch to Droppey, to receive the dragged data. Let’s explore these projects and see what they’re made of!
The data package holds the logic for storing notes in a database. These notes are very lightweight - they only hold a String property to represent the notes you’ve written.
And the ui package holds two screens - the addNote screen and the notes screen. The notes screen will show a list of notes and allow you to open the addNote screen, to add a new note.
You also have an App class, that holds the dependency injection logic. Let’s switch to Droppey now.
Droppey is extremely simple. It only holds one Activity that displays a text element. That element will show the note text that you’ll drag & drop to it at the end of the course, to learn how the drag & drop feature works.
There really isn’t anything more to it, as it’s just another app to showcase the drag & drop feature. You can dive deeper into the code of each app on your own, but this should be enough to get you going.
Now that you’ve explored these two apps, let’s start implementing the Multi-Window support!