Fragment to Fragment Communication in Android Studio [Kotlin 2020]

Fragment to Fragment Communication in Android Studio [Kotlin 2020]

CodeWithMazn

3 года назад

52,420 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

AppHouse
AppHouse - 19.09.2023 10:42

it is not setting the text on fragment. No error message as well

Ответить
Codi Chun
Codi Chun - 11.04.2023 02:11

Cristal clear!!!

Ответить
Bilal Berek
Bilal Berek - 04.02.2023 19:08

i have subscribed great work man

Ответить
Виктор Вик
Виктор Вик - 14.07.2022 22:11

Please, explain, what is arguments ? And what means activity in FragmentA class ? I totally missunderstood that.

Ответить
Atteee
Atteee - 22.05.2022 18:27

Does this work with BottomNavigation?

Ответить
Mario Agra Taboada
Mario Agra Taboada - 21.11.2021 15:21

Very clear bro!!! thank you so much

Ответить
Daniel Ekpenyong
Daniel Ekpenyong - 11.10.2021 17:02

what of the github repo

Ответить
AndroidGamer
AndroidGamer - 03.09.2021 06:27

How can i do the transaction from a recyclerview button? .. pls if u have a blog on how to do it it will help me alot

Ответить
风儿刮起来
风儿刮起来 - 31.08.2021 01:11

英语说的太好了!

Ответить
Ritesh Sahu
Ritesh Sahu - 18.08.2021 18:25

Without findviewbyid how could u set onclicklistner

Ответить
M-J -Y
M-J -Y - 08.07.2021 12:09

Very nice video! Could you also please make one about passing data from fragment to activity

Ответить
WasGibt's
WasGibt's - 15.05.2021 15:35

Your hard work is very appreciated, you are the best out there, keep it up

Ответить
WlaDiSS
WlaDiSS - 17.04.2021 17:51

Please, how could I pass data from second fragment to first fragment ?

Ответить
Lin
Lin - 23.03.2021 07:09

I'm also new to android. In your example, only takes care of sending data from frag A to B, what about if I also want to achieve sending data from B to A, takes care of both directions? Thanks

Ответить
Ganeshvaran Letchumanan
Ganeshvaran Letchumanan - 23.03.2021 05:45

For beginners like myself who are facing the problem whereby the "sendBtn" and "messageInput" is not recognised in the fragment kotlin file, please add the id 'kotlin-android-extensions' in your build gradle (app), under the plugins section.

Ответить
Fadzrian Gibran
Fadzrian Gibran - 13.03.2021 18:34

What if this is the case, fragment A in activity A will send data to fragment B in Activity B?

Ответить
Blatezers
Blatezers - 12.03.2021 02:39

ViewModel ?

Ответить