Preparing the adapter for both lists (categories and navigation).