Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有 Presenter 和两个视图(View1、View2),并且有一个带有 defaultView() 函数的常量对象(来自属性文件),如果 defaultView() 函数的结果是 1 和View2 在任何其他结果中?
由于 GWT 没有反射 API,因此您需要使用Deferred Binding。您需要编写一个自定义生成器。