Ghost Code
  • Home
  • About
Sign in Subscribe

lifecycle

A collection of 1 post
basics

Working with Fragments: How to use a Fragment in Android?

Fragments can exist within Activities and exist within its lifecycle. You can combine multiple fragments in a single activity to build a multi-pane UI and reuse a fragment in multiple activities. You can think of a fragment as a modular section of an activity, which has its own lifecycle, receives
Nov 14, 2016 3 min read
Page 1 of 1
Ghost Code © 2025
  • Sign up
Powered by Ghost