title: retrieve fragment with koin
body: <p>My project has multi modules, and i am using koin. I have HomeActivity which is in <code>home</code> module and AskQuestionFragment which is in feature module. I need to show AskQuestionFragment in HomeActivity, so i try to inject fragment with koin.</p>
  <pre><code>factory (named(&quot;askFragment&quot;)) { AskQuestionFragment() }
  </code></pre>
  <p>then in HomeActivity i write this</p>
  <pre><code>private val fragmentAsk by inject&lt;Fragment&gt;(named(&quot;askFragment&quot;))
  override fun onCreate(...) {
      val pagerAdapter = PagerAdapter(fragmentAsk, fragmentOther, fragmentOther2, fragmentBlablabla)
      viewPager.adapter = pagerAdapter
  }
  </code></pre>
  <p>It gives me error <code>Caused by: org.koin.core.error.NoBeanDefFoundException: No definition found for class:'androidx.fragment.app.Fragment' &amp; qualifier:'askFragment'. Check your definitions!</code>.</p>
  <p>For testing purpose, i tried to change</p>
  <p><code>factory (named(&quot;askFragment&quot;)) { AskQuestionFragment() }</code> to be <code>factory (named(&quot;askFragment&quot;)) { 74521647256142765412 }</code></p>
  <p>And it run well, so i think koin is not support fragment injection</p>
  <p>How to solve it?</p>