There seems to be a problem with the adapter and cusotm views. Code that
doesn't work has been commented and so can be activated to test.

Signed-off-by: Conrad Haupt <conradjhaupt@gmail.com>