Creating array adapter and list view in onViewCreated of ViewFoodFragment, and passing adapter to the list view. Also setting the OnItemClickListener and creating onItemClick method