SlideShare una empresa de Scribd logo
1 de 5
You can download this document from www.besthinditutorials.com
Android Fragments
इस tutorial android fragments ऊ Android fragments
activity independent user interface Android fragments
स suggest android activities
ढ़ इस Android in Hindi : Activity ढ़ स
Outline
 Introduction to android fragments in Hindi
 Android fragments life cycle in Hindi
 Types of android fragments in Hindi
 Creating android fragment in Hindi
Introduction to android fragments
fragment स activity separate UI (user interface)
Fragments life cycle औ input events fragment ई
activities स activity running state
fragments add औ remove स Fragments sub activity
स
You can download this document from www.besthinditutorials.com
Android fragments android Honeycomb version introduce
Android fragments स user activity स
इस parts divide स
Fragments स application design औ flexible
स स interface स औ उ separately manage
स स activity इस स
fragments add स
fragment activity embedded Fragments life cycle
activity life cycle स directly affected उ activity
pause उस स fragments pause activity destroy
उस स fragments destroy
activity running state उस स fragments independently
manage स
Related reading : Android in Hindi : Android Views
You can download this document from www.besthinditutorials.com
fragment ऐड fragment activity view hierarchy
View-Group , औ view layout ड इ fragment
activity layout ड स इस activity layout file
<fragment> ड
स fragment activity layout ई
fragments UI स
स
Basically fragments tablet devices design , tablet
devices स इस space fragments स स स
स Activity layout fragments divide screen
appearance स
उ fragment screen left side links list provide
स , औ right side fragment उ articles open स
fragments इस design fragment ई activities
स fragment layout औ life cycle
इस fragments ऐस design fragment
ई activities स
ऐस इस fragments different screen sizes
स application tablet औ handset devices
fragment इस configure स devices
स स स
Fragments life cycle
You can download this document from www.besthinditutorials.com
Creating Fragments
Fragment create Fragment स extend
Fragment स Activity स activity
life cycle औ fragment life cycle same
स life cycle methods implement ,
onCreate(), onCreateView() औ onPause() methods इ
Fragment स 3 important sub classes इ ड
स -
1. DialogFragment - स floating dialog
स Dialog इस स
alternative
2. ListFragment - स items display स
adapter स manage स
You can download this document from www.besthinditutorials.com
3. PreferenceFragment - स preference स hierarchy
ड
Declaring fragments in layout file
Fragments layout file declare <fragment> element
ड इस element important attribute
android:name, इस उस स स fragment स
extend
<fragment> element android:id attribute , स id स
Example
<fragment android:name="class name which extends Fragment class"
android:id="ïd">
</fragment>

Más contenido relacionado

Destacado

Comparative analysis – sentences help
Comparative analysis – sentences helpComparative analysis – sentences help
Comparative analysis – sentences helpNick Crafts
 
Comparative analysis advice
Comparative analysis   adviceComparative analysis   advice
Comparative analysis adviceNick Crafts
 
XML, JSON (Lecture 11 – XML, JSON)
XML, JSON (Lecture 11 – XML, JSON)XML, JSON (Lecture 11 – XML, JSON)
XML, JSON (Lecture 11 – XML, JSON)Noveo
 
Glen creeber genre theory
Glen creeber genre theoryGlen creeber genre theory
Glen creeber genre theoryNick Crafts
 
Lipid chemistry
Lipid chemistryLipid chemistry
Lipid chemistry9458332233
 
Petronas twin tower
Petronas twin towerPetronas twin tower
Petronas twin towerSomya Gupta
 

Destacado (8)

Elizabeth UROP poster_v5
Elizabeth UROP poster_v5Elizabeth UROP poster_v5
Elizabeth UROP poster_v5
 
Comparative analysis – sentences help
Comparative analysis – sentences helpComparative analysis – sentences help
Comparative analysis – sentences help
 
Comparative analysis advice
Comparative analysis   adviceComparative analysis   advice
Comparative analysis advice
 
XML, JSON (Lecture 11 – XML, JSON)
XML, JSON (Lecture 11 – XML, JSON)XML, JSON (Lecture 11 – XML, JSON)
XML, JSON (Lecture 11 – XML, JSON)
 
Fraktur
FrakturFraktur
Fraktur
 
Glen creeber genre theory
Glen creeber genre theoryGlen creeber genre theory
Glen creeber genre theory
 
Lipid chemistry
Lipid chemistryLipid chemistry
Lipid chemistry
 
Petronas twin tower
Petronas twin towerPetronas twin tower
Petronas twin tower
 

Más de Vipin sharma

Router components in hindi
Router components in hindiRouter components in hindi
Router components in hindiVipin sharma
 
Xml namespaces in Hindi
Xml namespaces in Hindi Xml namespaces in Hindi
Xml namespaces in Hindi Vipin sharma
 
Html font tag in Hindi
Html font tag in Hindi Html font tag in Hindi
Html font tag in Hindi Vipin sharma
 
Android networking in Hindi
Android networking in Hindi Android networking in Hindi
Android networking in Hindi Vipin sharma
 
Php file handling in Hindi
Php file handling in Hindi Php file handling in Hindi
Php file handling in Hindi Vipin sharma
 
Learn java in hindi
Learn java in hindiLearn java in hindi
Learn java in hindiVipin sharma
 

Más de Vipin sharma (7)

C pdf
C pdfC pdf
C pdf
 
Router components in hindi
Router components in hindiRouter components in hindi
Router components in hindi
 
Xml namespaces in Hindi
Xml namespaces in Hindi Xml namespaces in Hindi
Xml namespaces in Hindi
 
Html font tag in Hindi
Html font tag in Hindi Html font tag in Hindi
Html font tag in Hindi
 
Android networking in Hindi
Android networking in Hindi Android networking in Hindi
Android networking in Hindi
 
Php file handling in Hindi
Php file handling in Hindi Php file handling in Hindi
Php file handling in Hindi
 
Learn java in hindi
Learn java in hindiLearn java in hindi
Learn java in hindi
 

Último

SATELITE COMMUNICATION UNIT 1 CEC352 REGULATION 2021 PPT BASICS OF SATELITE ....
SATELITE COMMUNICATION UNIT 1 CEC352 REGULATION 2021 PPT BASICS OF SATELITE ....SATELITE COMMUNICATION UNIT 1 CEC352 REGULATION 2021 PPT BASICS OF SATELITE ....
SATELITE COMMUNICATION UNIT 1 CEC352 REGULATION 2021 PPT BASICS OF SATELITE ....santhyamuthu1
 
Design of Clutches and Brakes in Design of Machine Elements.pptx
Design of Clutches and Brakes in Design of Machine Elements.pptxDesign of Clutches and Brakes in Design of Machine Elements.pptx
Design of Clutches and Brakes in Design of Machine Elements.pptxYogeshKumarKJMIT
 
Popular-NO1 Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialis...
Popular-NO1 Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialis...Popular-NO1 Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialis...
Popular-NO1 Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialis...Amil baba
 
Renewable Energy & Entrepreneurship Workshop_21Feb2024.pdf
Renewable Energy & Entrepreneurship Workshop_21Feb2024.pdfRenewable Energy & Entrepreneurship Workshop_21Feb2024.pdf
Renewable Energy & Entrepreneurship Workshop_21Feb2024.pdfodunowoeminence2019
 
me3493 manufacturing technology unit 1 Part A
me3493 manufacturing technology unit 1 Part Ame3493 manufacturing technology unit 1 Part A
me3493 manufacturing technology unit 1 Part Akarthi keyan
 
Summer training report on BUILDING CONSTRUCTION for DIPLOMA Students.pdf
Summer training report on BUILDING CONSTRUCTION for DIPLOMA Students.pdfSummer training report on BUILDING CONSTRUCTION for DIPLOMA Students.pdf
Summer training report on BUILDING CONSTRUCTION for DIPLOMA Students.pdfNaveenVerma126
 
Power System electrical and electronics .pptx
Power System electrical and electronics .pptxPower System electrical and electronics .pptx
Power System electrical and electronics .pptxMUKULKUMAR210
 
EPE3163_Hydro power stations_Unit2_Lect2.pptx
EPE3163_Hydro power stations_Unit2_Lect2.pptxEPE3163_Hydro power stations_Unit2_Lect2.pptx
EPE3163_Hydro power stations_Unit2_Lect2.pptxJoseeMusabyimana
 
Guardians and Glitches: Navigating the Duality of Gen AI in AppSec
Guardians and Glitches: Navigating the Duality of Gen AI in AppSecGuardians and Glitches: Navigating the Duality of Gen AI in AppSec
Guardians and Glitches: Navigating the Duality of Gen AI in AppSecTrupti Shiralkar, CISSP
 
ASME BPVC 2023 Section I para leer y entender
ASME BPVC 2023 Section I para leer y entenderASME BPVC 2023 Section I para leer y entender
ASME BPVC 2023 Section I para leer y entenderjuancarlos286641
 
Dev.bg DevOps March 2024 Monitoring & Logging
Dev.bg DevOps March 2024 Monitoring & LoggingDev.bg DevOps March 2024 Monitoring & Logging
Dev.bg DevOps March 2024 Monitoring & LoggingMarian Marinov
 
GENERAL CONDITIONS FOR CONTRACTS OF CIVIL ENGINEERING WORKS
GENERAL CONDITIONS  FOR  CONTRACTS OF CIVIL ENGINEERING WORKS GENERAL CONDITIONS  FOR  CONTRACTS OF CIVIL ENGINEERING WORKS
GENERAL CONDITIONS FOR CONTRACTS OF CIVIL ENGINEERING WORKS Bahzad5
 
Nodal seismic construction requirements.pptx
Nodal seismic construction requirements.pptxNodal seismic construction requirements.pptx
Nodal seismic construction requirements.pptxwendy cai
 
cloud computing notes for anna university syllabus
cloud computing notes for anna university syllabuscloud computing notes for anna university syllabus
cloud computing notes for anna university syllabusViolet Violet
 
nvidia AI-gtc 2024 partial slide deck.pptx
nvidia AI-gtc 2024 partial slide deck.pptxnvidia AI-gtc 2024 partial slide deck.pptx
nvidia AI-gtc 2024 partial slide deck.pptxjasonsedano2
 
Modelling Guide for Timber Structures - FPInnovations
Modelling Guide for Timber Structures - FPInnovationsModelling Guide for Timber Structures - FPInnovations
Modelling Guide for Timber Structures - FPInnovationsYusuf Yıldız
 

Último (20)

SATELITE COMMUNICATION UNIT 1 CEC352 REGULATION 2021 PPT BASICS OF SATELITE ....
SATELITE COMMUNICATION UNIT 1 CEC352 REGULATION 2021 PPT BASICS OF SATELITE ....SATELITE COMMUNICATION UNIT 1 CEC352 REGULATION 2021 PPT BASICS OF SATELITE ....
SATELITE COMMUNICATION UNIT 1 CEC352 REGULATION 2021 PPT BASICS OF SATELITE ....
 
Design of Clutches and Brakes in Design of Machine Elements.pptx
Design of Clutches and Brakes in Design of Machine Elements.pptxDesign of Clutches and Brakes in Design of Machine Elements.pptx
Design of Clutches and Brakes in Design of Machine Elements.pptx
 
Lecture 4 .pdf
Lecture 4                              .pdfLecture 4                              .pdf
Lecture 4 .pdf
 
Popular-NO1 Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialis...
Popular-NO1 Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialis...Popular-NO1 Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialis...
Popular-NO1 Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialis...
 
Présentation IIRB 2024 Chloe Dufrane.pdf
Présentation IIRB 2024 Chloe Dufrane.pdfPrésentation IIRB 2024 Chloe Dufrane.pdf
Présentation IIRB 2024 Chloe Dufrane.pdf
 
Renewable Energy & Entrepreneurship Workshop_21Feb2024.pdf
Renewable Energy & Entrepreneurship Workshop_21Feb2024.pdfRenewable Energy & Entrepreneurship Workshop_21Feb2024.pdf
Renewable Energy & Entrepreneurship Workshop_21Feb2024.pdf
 
me3493 manufacturing technology unit 1 Part A
me3493 manufacturing technology unit 1 Part Ame3493 manufacturing technology unit 1 Part A
me3493 manufacturing technology unit 1 Part A
 
Summer training report on BUILDING CONSTRUCTION for DIPLOMA Students.pdf
Summer training report on BUILDING CONSTRUCTION for DIPLOMA Students.pdfSummer training report on BUILDING CONSTRUCTION for DIPLOMA Students.pdf
Summer training report on BUILDING CONSTRUCTION for DIPLOMA Students.pdf
 
Power System electrical and electronics .pptx
Power System electrical and electronics .pptxPower System electrical and electronics .pptx
Power System electrical and electronics .pptx
 
EPE3163_Hydro power stations_Unit2_Lect2.pptx
EPE3163_Hydro power stations_Unit2_Lect2.pptxEPE3163_Hydro power stations_Unit2_Lect2.pptx
EPE3163_Hydro power stations_Unit2_Lect2.pptx
 
Guardians and Glitches: Navigating the Duality of Gen AI in AppSec
Guardians and Glitches: Navigating the Duality of Gen AI in AppSecGuardians and Glitches: Navigating the Duality of Gen AI in AppSec
Guardians and Glitches: Navigating the Duality of Gen AI in AppSec
 
ASME BPVC 2023 Section I para leer y entender
ASME BPVC 2023 Section I para leer y entenderASME BPVC 2023 Section I para leer y entender
ASME BPVC 2023 Section I para leer y entender
 
Dev.bg DevOps March 2024 Monitoring & Logging
Dev.bg DevOps March 2024 Monitoring & LoggingDev.bg DevOps March 2024 Monitoring & Logging
Dev.bg DevOps March 2024 Monitoring & Logging
 
Litature Review: Research Paper work for Engineering
Litature Review: Research Paper work for EngineeringLitature Review: Research Paper work for Engineering
Litature Review: Research Paper work for Engineering
 
GENERAL CONDITIONS FOR CONTRACTS OF CIVIL ENGINEERING WORKS
GENERAL CONDITIONS  FOR  CONTRACTS OF CIVIL ENGINEERING WORKS GENERAL CONDITIONS  FOR  CONTRACTS OF CIVIL ENGINEERING WORKS
GENERAL CONDITIONS FOR CONTRACTS OF CIVIL ENGINEERING WORKS
 
Nodal seismic construction requirements.pptx
Nodal seismic construction requirements.pptxNodal seismic construction requirements.pptx
Nodal seismic construction requirements.pptx
 
Lecture 2 .pptx
Lecture 2                            .pptxLecture 2                            .pptx
Lecture 2 .pptx
 
cloud computing notes for anna university syllabus
cloud computing notes for anna university syllabuscloud computing notes for anna university syllabus
cloud computing notes for anna university syllabus
 
nvidia AI-gtc 2024 partial slide deck.pptx
nvidia AI-gtc 2024 partial slide deck.pptxnvidia AI-gtc 2024 partial slide deck.pptx
nvidia AI-gtc 2024 partial slide deck.pptx
 
Modelling Guide for Timber Structures - FPInnovations
Modelling Guide for Timber Structures - FPInnovationsModelling Guide for Timber Structures - FPInnovations
Modelling Guide for Timber Structures - FPInnovations
 

Android fragments in hindi

  • 1. You can download this document from www.besthinditutorials.com Android Fragments इस tutorial android fragments ऊ Android fragments activity independent user interface Android fragments स suggest android activities ढ़ इस Android in Hindi : Activity ढ़ स Outline  Introduction to android fragments in Hindi  Android fragments life cycle in Hindi  Types of android fragments in Hindi  Creating android fragment in Hindi Introduction to android fragments fragment स activity separate UI (user interface) Fragments life cycle औ input events fragment ई activities स activity running state fragments add औ remove स Fragments sub activity स
  • 2. You can download this document from www.besthinditutorials.com Android fragments android Honeycomb version introduce Android fragments स user activity स इस parts divide स Fragments स application design औ flexible स स interface स औ उ separately manage स स activity इस स fragments add स fragment activity embedded Fragments life cycle activity life cycle स directly affected उ activity pause उस स fragments pause activity destroy उस स fragments destroy activity running state उस स fragments independently manage स Related reading : Android in Hindi : Android Views
  • 3. You can download this document from www.besthinditutorials.com fragment ऐड fragment activity view hierarchy View-Group , औ view layout ड इ fragment activity layout ड स इस activity layout file <fragment> ड स fragment activity layout ई fragments UI स स Basically fragments tablet devices design , tablet devices स इस space fragments स स स स Activity layout fragments divide screen appearance स उ fragment screen left side links list provide स , औ right side fragment उ articles open स fragments इस design fragment ई activities स fragment layout औ life cycle इस fragments ऐस design fragment ई activities स ऐस इस fragments different screen sizes स application tablet औ handset devices fragment इस configure स devices स स स Fragments life cycle
  • 4. You can download this document from www.besthinditutorials.com Creating Fragments Fragment create Fragment स extend Fragment स Activity स activity life cycle औ fragment life cycle same स life cycle methods implement , onCreate(), onCreateView() औ onPause() methods इ Fragment स 3 important sub classes इ ड स - 1. DialogFragment - स floating dialog स Dialog इस स alternative 2. ListFragment - स items display स adapter स manage स
  • 5. You can download this document from www.besthinditutorials.com 3. PreferenceFragment - स preference स hierarchy ड Declaring fragments in layout file Fragments layout file declare <fragment> element ड इस element important attribute android:name, इस उस स स fragment स extend <fragment> element android:id attribute , स id स Example <fragment android:name="class name which extends Fragment class" android:id="ïd"> </fragment>