package Ġcom . s yle im an . ging erm oney . ui . activities . main . fragments . settings . dependency _ injection Ċ Ċ import Ġcom . s yle im an . ging erm oney . application . dependency _ injection . scopes . Fragment Scope Ċ import Ġcom . s yle im an . ging erm oney . ui . activities . main . fragments . settings . view . Settings Fragment Ċ import Ġcom . s yle im an . ging erm oney . ui . activities . main . fragments . settings . view _ model . Settings ViewModel Ċ import Ġdagger . Sub component Ċ Ċ @ Sub component ( modules Ġ= Ġ[ Settings Fragment Module Bind s :: class ]) Ċ @ Fragment Scope Ċ interface ĠSettings Fragment Component Ġ{ ĊĊĠĠĠ Ġ@ Sub component . Builder ĊĠĠĠ Ġinterface ĠBuilder Ġ{ ĊĠĠĠĠĠĠĠ Ġfun Ġbuild (): ĠSettings Fragment Component ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġinject ( fragment Ġ: ĠSettings Fragment ) ĊĠĠĠ Ġfun Ġinject ( viewModel : ĠSettings ViewModel ) Ċ }