Created a custom array adapter for the Line list.