android getActivity. Findviewbyid gets the method that listview returns null
•
Android
When the control ID is correct, check whether listview is obtained after instantiating the layout file,
Find the layout file under layout and instantiate it before you can get the ID of listview
demo:
The above is the Android getactivity brought by Xiaobian Findviewbyid gets all the contents of the method that listview returns null. I hope you can support more programming tips~
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码