Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about supportfragmentmanager

Read more about supportfragmentmanager

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - supportfragmentmanager

How to refresh fragment by clicking on button

I want to refresh my fragment by clicking on its button. How to do it? I try to do it like this but old version of fragment appears on the top of the screen (picture is attached): binding.checkAnswers...
test-img

apomytkina

kotlin

android-fragments

buttonclick

android-fragment-manager

supportfragmentmanager

Votes: 0

Answers: 1

Latest Answer

This will refresh the fragment : val ft = parentFragmentManager.beginTransaction() ft.detach(this).attach(this).commit()
test-img

A Sarshar

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved