package Ġcom . mass code . gon ews . data . source . local Ċ Ċ import Ġcom . mass code . gon ews . data . source . local . entity . User Entity Ċ import Ġcom . mass code . gon ews . data . source . local . room . User Dao Ċ import Ġio . reactivex . rx java 3 . core . Flow able Ċ import Ġjavax . inject . Inject Ċ Ċ class ĠLocal DataSource Ġ@ Inject Ġconstructor ( private Ġval Ġuser Dao : ĠUser Dao ) Ġ{ ĊĊĠĠĠ Ġfun ĠgetAll Articles (): ĠFlow able < List < User Entity >> Ġ= Ġuser Dao . getAll Articles () ĊĊĠĠĠ Ġfun Ġinsert Articles ( user List : ĠList < User Entity >) Ġ= Ġuser Dao . insert Articles ( user List ) Ċ }