Android tutorial (2018) - 10 - Add a Fragment to an Activity using XML

  Рет қаралды 82,363

PRABEESH R K

PRABEESH R K

Күн бұрын

Пікірлер: 39
@vinaykumarnagarjuna2452
@vinaykumarnagarjuna2452 7 жыл бұрын
Good evening sir, Excellent explaination on Android... This tutorials are very helpful to me... I am requesting you that Kindly keep post more videos on the Android.. Thank you
@gurjeetdhillon90
@gurjeetdhillon90 7 жыл бұрын
Awesome work prabeesh and thankyou for latest videos on Android,please keep posting
@sintayhunigusse769
@sintayhunigusse769 3 жыл бұрын
thank you professor !! this video is helpful for beginners
@bhuvanjeetsingh3934
@bhuvanjeetsingh3934 5 жыл бұрын
how have you used android:layout_width attribute two times at 9:32 min. It shows an error of using a duplicate attribute. Please tell me.
@pronavsandhu
@pronavsandhu 6 жыл бұрын
Hi. I was wondering where those id's being used in project @8:53 app doesn't run without those. why is that? which file is calling those fragment ids.thanks
@ehlai1676
@ehlai1676 5 жыл бұрын
They are not being used in this case. But it's a good practice to have an ID for each object. Or perhaps it is needed as an identifier.
@darkman237
@darkman237 6 жыл бұрын
So working with fragments is a little like using the old frames from html. You have your container and you show your separate files in the frames. Is that about right?
@geofreymatto6710
@geofreymatto6710 6 жыл бұрын
Good mr.programmer
@dreams98088
@dreams98088 6 жыл бұрын
super explanation.....absolutely nice
@appliedcomputerprogramming5206
@appliedcomputerprogramming5206 5 жыл бұрын
Very good work. Kindly put example. Code on GitHub. Thanks for great work
@kschkz
@kschkz 6 жыл бұрын
How many fragments can I use in a activity? Does developing with multiple fragments consume less memory than doing with multiple activities?
@murderousgod-pubglite4262
@murderousgod-pubglite4262 6 жыл бұрын
ihave latest 3.2.1 android studio and this rag,emet metod is not working there iam getting somany errors
@peterukeme9181
@peterukeme9181 6 жыл бұрын
Pls sir teach me how to create a sponsor page fragment or brand activity for ads, I dont want to be using admob. Where u can do small text base ad, and canvas ad
@robinpatel7762
@robinpatel7762 6 жыл бұрын
In what kind of application it is used?? Sir
@melwinvishaldsouza4799
@melwinvishaldsouza4799 6 жыл бұрын
please Explain what the method does while using any method!!!
@juanpablorodriguesdacruz9242
@juanpablorodriguesdacruz9242 4 жыл бұрын
excellent!". Regards for Argentina!
@prathyushakalisetti517
@prathyushakalisetti517 6 жыл бұрын
How to add first fragment to mainactivity
@rojaroyal2046
@rojaroyal2046 5 жыл бұрын
I'm not getting output sir, there is no errors, but not showing the output what should I do
@behnamben7625
@behnamben7625 6 жыл бұрын
i didnt get what is inflater exacly!?
@yangmotivation1651
@yangmotivation1651 6 жыл бұрын
it takes as input an XML file and builds the View objects from it
@yashwanthreddy26
@yashwanthreddy26 6 жыл бұрын
Sir This is Yashwanth Reddy I have Tried to create an application that How to add more no of fingerprints to my application with name an contact no. and also how to get their details when finger print was authenticated in my application sir So please help me sir
@prathyushakalisetti517
@prathyushakalisetti517 6 жыл бұрын
Sir while running this app this is showing default activity not found
@PRABEESHRK
@PRABEESHRK 6 жыл бұрын
This may due to the missing launcher activity in the manifest or you firget to add your first fragment to the fragment cobtainer placed in the main activity
@prathyushakalisetti517
@prathyushakalisetti517 6 жыл бұрын
PRABEESH R K how to add it to the container and I did similarly by seeing your video
@murderousgod-pubglite4262
@murderousgod-pubglite4262 6 жыл бұрын
there is no layout inflator code exist in my android studio
@ovitechgyan3489
@ovitechgyan3489 6 жыл бұрын
how to import android.support.v4.app.Fragment
@caspianmahes3728
@caspianmahes3728 6 жыл бұрын
Why we are setting height=0
@adiravraham6413
@adiravraham6413 6 жыл бұрын
For some reason, I got FATAL Exception
@yangmotivation1651
@yangmotivation1651 6 жыл бұрын
very helpful thank you too much
@AliyuMarke
@AliyuMarke 6 жыл бұрын
Thank you for the video tutorials, but please we need tutorial on how to monetize our app after developing it. That is how we can add google ads to the an Android app.
@prathyushakalisetti517
@prathyushakalisetti517 6 жыл бұрын
I'm creating fragments for android tv
@Top5Category
@Top5Category 6 жыл бұрын
awesome video sir
@dhaneshpt8641
@dhaneshpt8641 4 жыл бұрын
Thank you sir
@kaushik646946
@kaushik646946 7 жыл бұрын
Excellent
@wervertonfg
@wervertonfg 5 жыл бұрын
Thanks!
@KickassCoders
@KickassCoders 7 жыл бұрын
Ooossumm sir
@naveendhamija6425
@naveendhamija6425 6 жыл бұрын
How fragments are added in main activity, it is so confusing. U r not explaining everything
@topprogrammingtv
@topprogrammingtv 6 жыл бұрын
by inflater in the class that extends Fragment and especially in onCreateView method that returns a view "look down" @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { // Inflate the layout for this fragment return inflater.inflate(R.layout.fragment_article, container, false); } if you delete it you will get an error even the fragment inside MainActivity xml
@sintayhunigusse769
@sintayhunigusse769 3 жыл бұрын
thank you professor !! this video is helpful for beginners
БОЙКАЛАР| bayGUYS | 27 шығарылым
28:49
bayGUYS
Рет қаралды 1,1 МЛН
UFC 287 : Перейра VS Адесанья 2
6:02
Setanta Sports UFC
Рет қаралды 486 М.
This Prompt is Like a Cheat Code for AI Video, Kling 1.6
10:56
metricsmule
Рет қаралды 3 М.
FPS Eye Training Warmup (HIGH FPS)
8:30
ottr
Рет қаралды 2,5 МЛН
Activities & the Activity Lifecycle - Android Basics 2023
12:47
Philipp Lackner
Рет қаралды 169 М.
ViewModels & Configuration Changes - Android Basics 2023
18:46
Philipp Lackner
Рет қаралды 138 М.
Android tutorial (2018) - 13 - Fragment Activity Communication
19:56
БОЙКАЛАР| bayGUYS | 27 шығарылым
28:49
bayGUYS
Рет қаралды 1,1 МЛН