package Ġcom . rav n ner der y . data . use Cases Ċ Ċ import Ġcom . rav n ner der y . domain . repository . Main Repository Ċ import Ġkotlinx . coroutines . flow . Flow Ċ import Ġkotlinx . coroutines . flow . flow Ċ import Ġjavax . inject . Inject Ċ Ċ interface ĠProvide Elements Are Loading Flow UseCase Ġ{ ĊĠĠĠ Ġfun Ġexecute (): ĠFlow < Boolean > Ċ } Ċ Ċ class ĠProvide Elements Are Loading Flow UseCase Impl Ġ@ Inject Ġconstructor ( private Ġval Ġrepo : ĠMain Repository ) Ġ: ĊĠĠĠ ĠProvide Elements Are Loading Flow UseCase Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġexecute (): ĠFlow < Boolean > Ġ= Ġrepo . provide Loading State () Ċ } Ċ Ċ class ĠProvide Elements Are Loading Flow UseCase Test Ġ: ĠProvide Elements Are Loading Flow UseCase Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġexecute (): ĠFlow < Boolean > Ġ= Ġflow Ġ{ Ġemit ( true ) Ġ} Ċ }