SlideShare une entreprise Scribd logo
1  sur  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>

Contenu connexe

En vedette

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
 

En vedette (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
 

Plus 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
 

Plus 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
 

Dernier

TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catcherssdickerson1
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfAsst.prof M.Gokilavani
 
Autonomous emergency braking system (aeb) ppt.ppt
Autonomous emergency braking system (aeb) ppt.pptAutonomous emergency braking system (aeb) ppt.ppt
Autonomous emergency braking system (aeb) ppt.pptbibisarnayak0
 
Configuration of IoT devices - Systems managament
Configuration of IoT devices - Systems managamentConfiguration of IoT devices - Systems managament
Configuration of IoT devices - Systems managamentBharaniDharan195623
 
Crushers to screens in aggregate production
Crushers to screens in aggregate productionCrushers to screens in aggregate production
Crushers to screens in aggregate productionChinnuNinan
 
National Level Hackathon Participation Certificate.pdf
National Level Hackathon Participation Certificate.pdfNational Level Hackathon Participation Certificate.pdf
National Level Hackathon Participation Certificate.pdfRajuKanojiya4
 
System Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event SchedulingSystem Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event SchedulingBootNeck1
 
Indian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.pptIndian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.pptMadan Karki
 
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...Erbil Polytechnic University
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvLewisJB
 
Engineering Drawing section of solid
Engineering Drawing     section of solidEngineering Drawing     section of solid
Engineering Drawing section of solidnamansinghjarodiya
 
Internet of things -Arshdeep Bahga .pptx
Internet of things -Arshdeep Bahga .pptxInternet of things -Arshdeep Bahga .pptx
Internet of things -Arshdeep Bahga .pptxVelmuruganTECE
 
DM Pillar Training Manual.ppt will be useful in deploying TPM in project
DM Pillar Training Manual.ppt will be useful in deploying TPM in projectDM Pillar Training Manual.ppt will be useful in deploying TPM in project
DM Pillar Training Manual.ppt will be useful in deploying TPM in projectssuserb6619e
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)Dr SOUNDIRARAJ N
 
Main Memory Management in Operating System
Main Memory Management in Operating SystemMain Memory Management in Operating System
Main Memory Management in Operating SystemRashmi Bhat
 
Transport layer issues and challenges - Guide
Transport layer issues and challenges - GuideTransport layer issues and challenges - Guide
Transport layer issues and challenges - GuideGOPINATHS437943
 
"Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ..."Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ...Erbil Polytechnic University
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 

Dernier (20)

TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
 
Autonomous emergency braking system (aeb) ppt.ppt
Autonomous emergency braking system (aeb) ppt.pptAutonomous emergency braking system (aeb) ppt.ppt
Autonomous emergency braking system (aeb) ppt.ppt
 
Configuration of IoT devices - Systems managament
Configuration of IoT devices - Systems managamentConfiguration of IoT devices - Systems managament
Configuration of IoT devices - Systems managament
 
Crushers to screens in aggregate production
Crushers to screens in aggregate productionCrushers to screens in aggregate production
Crushers to screens in aggregate production
 
National Level Hackathon Participation Certificate.pdf
National Level Hackathon Participation Certificate.pdfNational Level Hackathon Participation Certificate.pdf
National Level Hackathon Participation Certificate.pdf
 
System Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event SchedulingSystem Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event Scheduling
 
Designing pile caps according to ACI 318-19.pptx
Designing pile caps according to ACI 318-19.pptxDesigning pile caps according to ACI 318-19.pptx
Designing pile caps according to ACI 318-19.pptx
 
Indian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.pptIndian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.ppt
 
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...
Comparative study of High-rise Building Using ETABS,SAP200 and SAFE., SAFE an...
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvv
 
Engineering Drawing section of solid
Engineering Drawing     section of solidEngineering Drawing     section of solid
Engineering Drawing section of solid
 
young call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Serviceyoung call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Service
 
Internet of things -Arshdeep Bahga .pptx
Internet of things -Arshdeep Bahga .pptxInternet of things -Arshdeep Bahga .pptx
Internet of things -Arshdeep Bahga .pptx
 
DM Pillar Training Manual.ppt will be useful in deploying TPM in project
DM Pillar Training Manual.ppt will be useful in deploying TPM in projectDM Pillar Training Manual.ppt will be useful in deploying TPM in project
DM Pillar Training Manual.ppt will be useful in deploying TPM in project
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
 
Main Memory Management in Operating System
Main Memory Management in Operating SystemMain Memory Management in Operating System
Main Memory Management in Operating System
 
Transport layer issues and challenges - Guide
Transport layer issues and challenges - GuideTransport layer issues and challenges - Guide
Transport layer issues and challenges - Guide
 
"Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ..."Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ...
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 

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>