package Ġcom . android . mobile . injection . module Ċ Ċ import Ġandroid . content . Context Ċ import Ġandroidx . fragment . app . Fragment Ċ import Ġandroidx . fragment . app . Fragment Activity Ċ import Ġdagger . Module Ċ import Ġdagger . Provides Ċ import Ġcom . android . mobile . injection . Activity Context Ċ Ċ @ Module Ċ class ĠFragment Module ( private Ġval Ġfragment : ĠFragment ) Ġ{ ĊĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġinternal Ġfun Ġprovides Fragment (): ĠFragment Ġ= Ġfragment ĊĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġinternal Ġfun Ġprovide Activity (): ĠFragment Activity ? Ġ= Ġfragment . activity ĊĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġ@ Activity Context ĊĠĠĠ Ġinternal Ġfun Ġprovides Context (): ĠContext ? Ġ= Ġfragment . context Ċ Ċ }