KotlinBloc
KotlinBloc copied to clipboard
BlocViewModel?
I really liked your implementation of Bloc in kotlin.
ViewModel is finely integrated with Activities (retention on activity recreate, etc) and other Android stuff in general. Also ViewModel is responsible for holding the ui state, and reacting to ui actions (just like Bloc).
So, a BlocViewModel
based on AndroidViewModel
/ViewModel
would be great and really useful.
BlocViewModel
would be a AndroidViewModel
/ViewModel
with all capabilities of Bloc
.
Your thoughts?