I want to know how to chech whether object is existed in layout.
To make clear, I want to check ListView is existed in layout for different screen resolution. If client device is tablet, I’ll process for ListView and will make some action. If client device is mobile, I’ll ignore this ListView and set visible mode to GONE.
To know whether object exists or not, just try to find it with findViewById and compare result to null