Skip to content
This repository was archived by the owner on Jul 31, 2024. It is now read-only.

fastfingertips/FragmentAndNavigation

Repository files navigation

Fragment and Navigation Example

This project demonstrates the use of Fragments and Navigation components in Android development, including navigation graphs, lifecycle management, and data passing between fragments.

Screenshots

App Flow

Toast Message for Empty Username
Toast Message for Empty Username
Username Input Screen
Username Input Screen
Second Fragment
Second Fragment

Features

  • Fragments and Navigation: Implementation of Fragments for different parts of the user interface and Navigation component for screen transitions.
  • Navigation Graph: Configuration of the navigation graph to manage app navigation flow.
  • Lifecycle Management: Handling lifecycle events for Fragments and Activities.
  • Safe Args: Passing data between Fragments with type safety.

How to Use

  1. Clone or download the repository.
  2. Open the project in Android Studio.
  3. Sync dependencies and build the project.
  4. Run the app to explore its features.

About

a simple android app demonstrating fragment usage and navigation components with data passing and lifecycle management

Topics

Resources

Stars

Watchers

Forks

Languages