我有一个类Prova类实现Serializable.我必须把这个Set放在一个意图中.这是代码:
Set<Prova> set=..... // Set is declared first and it's not null
Intent intent = new Intent(getApplicationContext(), Example.class);
intent.putExtra("set",set);
Run Code Online (Sandbox Code Playgroud)
这段代码给了我:"无法解析方法".有人可以帮帮我吗?