title: RecyclerView items change position after transitioning to a different screen and coming back
body: <p>I have an android project made with MVVM and having trouble with the items in the RecyclerView shift position after transition to different Page(Fragment with findNavController) and coming back to the Screen with the RecyclerView. I searched about it online but cannot find any solutions. I've seen something like the following but cannot fix it. I would love to hear some tips or sample code from you!<br>
  <a href="https://stackoverflow.com/questions/35111902/recyclerview-adapter-change-selected-position-in-list-scrolling">RecyclerView Adapter change selected position in List Scrolling</a></p>
  
  <pre><code>    val recyclerView: RecyclerView = binding.mainRecycleview
      val adapter = HomeAdapter(context!!, viewModel)
  
      recyclerView.adapter = adapter
      val layoutManager = GridLayoutManager(activity, COLUMN_COUNT, RecyclerView.VERTICAL, false)
      recyclerView.layoutManager = layoutManager
      recyclerView.isMotionEventSplittingEnabled = false
      setGridDecoration(recyclerView, adapter, layoutManager)
  
      adapter.setOnItemClickListener(object : HomeListAdapter.OnItemClickListener {
          override fun onClick(view: View, homedata: MainModel) = onClickItem(view, article)
      })
  </code></pre>
  
  <p>.</p>
  
  <pre><code>class HomeAdapter(val context: Context, val viewModel: MainModel) : RecyclerView.Adapter&lt;MainAdapter.ViewHolder&gt;() {
  </code></pre>