Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
「popBackStack 関数」を呼び出して前のフラグメントに戻るときに、タイトル バーの文字列を変更したい。以前のフラグメント クラスのタイトル バーの文字列を変更したい。良い方法を教えていただけませんか?
そこでフラグメントのライフサイクルを見つけることができます
onCreateView と onResume メソッドで任意のテキストを変更できると思います。