Forum

Activities and Fragments in Android development

This thread contains 1 reply, has 2 voices, and was last updated by khushi 10 months ago.

  • Author Replies
    • #109938

      What is the difference between Activities and Fragments in Android development?


    • #109990

      Activities and Fragments are both components in Android development used for creating user interfaces, but they differ in their lifecycle and functionality. An Activity represents a single screen with a user interface, while a Fragment represents a portion of a user interface or behaviour that can be inserted or removed within an Activity’s UI. Fragments are often used to create more modular and reusable UI components within an Activity. Additionally, Fragments have their own lifecycle, allowing for more flexibility in managing UI elements and interactions.


Viewing 1 reply thread

You must be to reply to this thread.Please or . Registration is 100% free.

GET FREE CONSULTATION

Call Us Now For Free Consultation97370 05566

Our experts listen to you patiently and suggest you the right course after conducting a personality profile test. Register your interest below to schedule personality profile test for you.

SUBSCRIBE TO OUR NEWSLETTER

Subscribe to get latest updates regarding courses, IT industry and career prospects.

Copyright 2016-2025 Smart Mentors. All Rights Reserved.

Login

FORGOT PASSWORD

Sign up now to Become An Instructor

    Register your Interest

      cf7captchaRegenerate Captcha