package Ġcom . ra ion . f urn it ale . ui . search Ċ Ċ import Ġandroidx . lifecycle . ViewModel Ċ import Ġandroidx . lifecycle . as LiveData Ċ import Ġcom . ra ion . f urn it ale . core . domain . use case . search . Search UseCase Ċ Ċ class ĠSearch ViewModel ( private Ġval Ġuse Case : ĠSearch UseCase ) Ġ: ĠViewModel () Ġ{ ĊĊĠĠĠ Ġfun Ġget Search Products ( query : ĠString ) Ġ= Ġuse Case . get Search Products ( query ). as LiveData () Ċ }