remove unsued imports and unneeded functionality from ListView
[ci skip]