title: Pass data back to previous fragment using Android Navigation
body: <p>I've started using Android Architecture Components (Navigation and Safe Args, View Models) along with Koin library.</p>
  
  <p>Currently, I've got a problem with passing arguments between two fragments - I need to pass a string value from fragment A to fragment B, modify this value in fragment B and pass it back to fragment A.</p>
  
  <p>I've found one possible solution to my problem - shared view models. Unfortunately, this approach has one problem because I can pass and modify values between screens, but when the fragment A navigate to another destination the value in the shared view model is still stored and not cleared.</p>
  
  <p>Is there any different solution of passing and modifying data between fragments in Android Navigation? I want to avoid clearing this one value by hand (when the fragment A is destroyed).</p>