-
Привет!
Условно, есть у меня в recipe запись вида:
```
- instantiate:
from: root/src/ViewModel.kt.ftl
to: ${srcOut}/${viewModelName}.kt
```
Путь к шаблону VM - `templates/F…
-
Hi,
Great example!
1. Interesting why is need "controller" in MVVM? Why not write all code from controller in ViewModel? Or woth this approach we get more clean code?
2. Also you try to implement MVV…
ghost updated
8 years ago
-
Hello,
I'm trying out Voyager which seems amazing but I'm stuck on using an Android ViewModel within a Screen.
The screen:
```kotlin
class SignupScreen: Screen {
@Composable
override…
galex updated
2 months ago
-
### What happened?
In my code, I've consistently encountered crashes when using OneSignal APIs after calling OneSignal.initWithContext, specifically receiving the error: java.lang.Exception: Must cal…
-
We all know about Soldier's weird arm that shows up when he's holding the Original at a high viewmodel FOV.
![image](https://user-images.githubusercontent.com/72432070/95644500-ef72f900-0a6b-11eb-9…
-
Apparently changing to color or material for viewmodels is impossible now. You need to find out a workaround to get it to work, and so far I haven't found anything.
ghost updated
5 years ago
-
-
The signin signup viewmodels are running initially without doing any task
-
@Exodia
由于新增了`ViewModel`这一概念,那么其中存放怎么样的数据我们应该有一个规范和约束,我大致觉得有几种可选:
1. 不作限制,随场景自行设计
2. 要求`ViewModel`的数据结构和视图一致,如果一个控件要一个对象,`VM`中对应的属性也是一个对象,数组也一样
另外还涉及一个问题,一些字符串的拼接,比如加个前缀之类的,应该在`ViewModel`还是`View`中处…
-
Nunca retornar uma entidade do domínio é o que deve ser feito
Porém alguns lugares ainda estão retornando a própria entidade e isso é **Muito Perigoso**
Utilizar em todas as respostas , **View Model…