Forum

Activities and Fragments in Android development

This thread contains 1 reply, has 2 voices, and was last updated by khushi 1 month, 3 weeks 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

Copyright 2016-2024 Smart Mentors. All Rights Reserved.

Login

FORGOT PASSWORD

Sign up now to Become An Instructor

    Register your Interest

      cf7captchaRegenerate Captcha