title: Launch coroutine from click event in fragment
body: <p>What is the proper way to launch a coroutine from a click event that is defined in a fragment? From my understanding, <code>GlobalScope.launch</code> is used if you want to launch a coroutine that is supposed to remain in memory for the entire lifecycle of the app. But since a fragment usually has a shorter lifecycle than the app, <code>GlobalScope.launch</code> probably isn't the proper way. I assume that if I used <code>GlobalScope.launch</code>, it might keep the fragment from being garbage collected?</p>
  <p>I really only need to launch the coroutine from a click event handler, which means that there is no parent functions that I would be calling from.</p>