-
请教下博主,fragmentA跳转到fragmentB之后,然后fragmentB返回的时候携带数据给FragmentA,类似Activity的setResult(),有啥可以的方案吗?
是使用一个activity级别的viewmodel吗?
-
I'm seaching solution for this since five days. I'm one of GADS 2021 scholars and have Google Android Developer Certification exam in few days, this month. I'm working on a small project that include…
-
Hello, first of all thanks for the great tutorial.
I have tried to implement this databinding RecyclerView and I managed to understand it and load the data. However I have a problem:
I have this …
-
大佬在文中提到
> MVVM 的 ViewModle 中分散定义了多个 State ,MVI 使用 ViewState 对 State 集中管理,只需要订阅一个 ViewState 便可获取页面的所有状态,相对 MVVM 减少了不少模板代码
并且示例代码也是写的:
```kotlin
/**
* 页面所有状态
**/
data class LoginViewState(
…
-
*NOTE*: All **1st-time contributors** should know Topic approval and PR submission does NOT guarantee your Topic/Article will be published. Our team of Peer Reviewers and Content Moderators will revie…
-
### Android application type
Classic Xamarin.Android (MonoAndroid12.0, etc.)
### Affected platform version
VS2019 16.11.10
### Description
During compile of the Android part of my XF app I get th…
-
Navigation 的版本更新为 2.4.0 后,HomeFragment 也会回调 onCreateView,页面还是会重绘。
-
When integrating a dependency that was using this material component we encountered a compile issue caused by an attribute not being prefixed:
`.gradle/caches/transforms-1/files-1.1/jetified-play-s…
-
Version: `4.2.5`
Hit an issue with `ChannelViewModel`:
```
Caused by: kotlin.UninitializedPropertyAccessException: lateinit property instance has not been initialized
at io.getstr…
-
not sure if i missed any step or additional library in here, but am getting this error, can you please help?
```css
2022-06-23 16:38:16.618 21797-21860/work.curioustools.r2d2 E/[Leanplum][ERRO…