可以这样考虑:您在尝试为适配器提供一种方法来调用或通知您的应用程序。
Think of it this way: you are trying to provide a way for the adapter to call your application.
因此,如果您尝试创建新列表,并将其设置为对这些方法之一调用所产生的结果,则会得到一个空列表。
So, if you try to create a new list and set it to be the result of a call to one of these methods, you'll get an empty list.
这在您尝试更好地解决一个方法的参数时,会特别有用。
This is especially helpful when you are trying to better resolve the arguments of a method.
应用推荐