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.
我正在根据 Web 服务的响应动态创建 EditText、RadioButtons 复选框等视图。现在,我需要在单个 HashMap 或任何 Map 中获取所有创建视图的值。我怎样才能做到这一点?
您可以使用该View.getId()功能
View.getId()