Android tutorial (2018) - 13 - Fragment Activity Communication

preview_player
Показать описание
In this video we are going to learn about how to establish communication between fragment and activity in android. It is not possible for two fragments to communicate each other directly instead they can communicates through interfaces.

Рекомендации по теме
Комментарии
Автор

I am quite happy that you are hammering on Fragments, , it is quite sad how people are giving us tutorials that focus on activities when the new way to do things now is through fragments..

Thank you sir

iamtafara
Автор

Thank you. In here you teached the poeple how Interfaces work in action (Callback manner)
Thank u very much.

hakkisan
Автор

Amazing bro, thanks a lot for clear explanation!

reyou
Автор

Excellent work with one exception. You are flying so fast at some points, especially where you are letting the editor auto-fill values and such, that within 0.03 seconds of some editor auto-fills you have already flipped to a different class. Not only do we not have a chance to follow, it was on the screen so short it was almost impossible to see before you moved to another class. In general I like that you are not painfully slow, but you should take a breath after you complete each line and a bit more of a breath before you switch to a different tab. Lastly, it took me a while to determine why I was having conflicts. When you create a class, like a FragmentTransaction, because you are going so fast, I never noticed you selected one from a specific import - when more than one is available.

Keep up the good work!

stugrunt
Автор

Simply perfect, many thanks Prabeesh!

wizardingstudios
Автор

u're really the best teacher out there

TopCategory
Автор

good and useful tutorial. Any intermediate developer should not have problem understanding
i have rather a silly query: why do you use SPACE instead of TAB?

Ullashpodder
Автор

Fantastic, very well explained sir, thanks for sharing this trick.

srinivasulurao
Автор

I tried to do the example but it gives me this error: Attempt to invoke virtual method 'android.view.View on a null object reference

h.a.osoriolara
Автор

Thank you very much for sharing this excellent tutorial.

joseperri.medusa
Автор

hello sir can you suggest me which book or source is best to start android please answer me.

nikeshmanjhi
Автор

I didn 't catch it. For what purpose do we use the interface?

НастяКузнецова-лй
Автор

Inside documentation says we need to define onAttach before onCreate, but i dont see you are doing so can u tell me how it works and why?
Thank you 🙂

mahdijafaree
Автор

Thank you sir for posting such important videos you are way of explaining is great,
but little bit getting disturbance by typing sound..

mohammedraziuddin
Автор

prabeesh sir.. your videos are amazing as always..
please make videos on MVP approach also.. its new approach and and want to learn it now a days.. thank u

ahsanishaq
Автор

When i do this my text is not getting centered in the second frame layout. How do i solve this problem?

kunalnalawade
Автор

My fragment timer was running after destroy do you know why ?

devinjones
Автор

Pushing the ab button in blueprint gives no result as it does in the video the horizontal line does not appear

Gojam
Автор

dear this video is very good but i need how to receive mms and receive wap push in android i hope you will work soon on it

husnain
Автор

What library to you import for MessageFragement?

kena
join shbcf.ru