Created a custom adapter for listexercises.