An open API service indexing awesome lists of open source software.

https://github.com/ashdavies/android-fragment-lifecycle

Small example demonstrating the traditional Android support fragment lifecycle
https://github.com/ashdavies/android-fragment-lifecycle

android android-development development fragment-lifecycle sample

Last synced: about 2 months ago
JSON representation

Small example demonstrating the traditional Android support fragment lifecycle

Awesome Lists containing this project

README

          

### Fragment Lifecycle
![Branch](https://img.shields.io/badge/branch-master-blue.svg)
![CircleCI](https://circleci.com/gh/ashdavies/fragment-lifecycle/tree/master.svg?style=shield)
![Licence](https://img.shields.io/badge/licence-Apache%202.0-yellow.svg)

**Description**
This application demonstrates the fragment lifecycle when creating and destroying fragments.
This is in order to better understand the sequence through which the fragment manager calls
methods upon the Fragment and at what state the activity is at in reference to said fragment.

The application is not being maintained and is provided as is for educational use.

**Usage**
- Use the action bar controls to add and remove fragments
- Fragment lifecycle events will be reported in the activities recycler view
- The application names each fragment using a names dictionary file
- Each event mentions the name of the fragment that called it
- Clear the event using the action bar clear button

![device-2015-11-01-163936](https://cloud.githubusercontent.com/assets/1892070/10869831/507f6eb2-80bb-11e5-8452-357290a3ab46.png)