package Ġcom . the kor ov ay . my portfolio . domain . inter actors Ċ Ċ import Ġcom . the kor ov ay . my portfolio . domain . repositories . Search News Repository Ċ import Ġjavax . inject . Inject Ċ import Ġjavax . inject . Singleton Ċ Ċ @ Singleton Ċ class ĠSearch History Interactor Ġ@ Inject Ġconstructor ( private Ġval Ġrepo : ĠSearch News Repository ) Ġ{ ĊĠĠĠ Ġval Ġexception Ġget () Ġ= Ġrepo . search History Exception ĊĊĠĠĠ Ġval Ġsearch History State Ġ= Ġrepo . search History State ĊĠĠĠ Ġval Ġhistory Ġ= Ġrepo . search History ĊĊĊĠĠĠ Ġsuspend Ġfun Ġclear Search History () Ġ= Ġrepo . clear Search History () ĊĊĠĠĠ Ġfun ĠsetError Handled () Ġ= Ġrepo . set History Error Handled () Ċ }