Made list adapter generic