Fragment – “a small part broken or separated off something.”
Are they like mini activities? Are they super views? The Fragment has always been a source of controversy. Love or hate them, they are a fundamental component of the Android SDK, and when used correctly can really help supercharge your app!
Through concrete examples, you will learn best practices in regards to managing fragment transactions, staying on top of its lifecycle and tips on avoiding the most common pain points that developers face.
Finally, we’ll go through some advanced uses of fragments(headless fragments anyone?). And a quick example of how I used fragments to persist a web app in a hybrid application.