viewmodel is runing multiple in compose
i was checking my debug and i see my ViewModel or screen run multi time
my viewModel
@HiltViewModel
class DownloadViewModel @Inject constructor(
private val repository: DataRepository
): ViewModel() {
val downloadList: LiveData = repository.getDownload().asLiveData()
my screen
@Composable
fun TetsScreen(dm : DownloadViewModel){
Log.e("is running", "true")
val downloads by dm.downloadList.observeAsState()
Column(modifier = Modifier
.background(color =...