简体   繁体   English

如何在对话框中添加mosby MVP结构?

[英]How to add mosby MVP structure to a dialog?

Im trying to write some dialogs that involves complex server calls. 我试图写一些涉及复杂服务器调用的对话框。

Therefore I find it easier if i could just add some MVP stuff in the Dialog file directly. 因此,如果我可以直接在Dialog文件中添加一些MVP内容,我会发现比较容易。

However, there doesn't seem to be an MvpDialog. 但是,似乎没有MvpDialog。

What are some alternatives that I could do? 我可以做些什么选择?

FragmentDialogs will be part of next Mosby release, see here: https://github.com/sockeqwe/mosby/pull/300/files FragmentDialogs将成为下一个Mosby版本的一部分,请参见此处: https//github.com/sockeqwe/mosby/pull/300/files

Snapshot should be available to try it out. 快照应该可以试用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM