When I execute DotsIndicator dotsIndicator = findViewById(R.id.dots_indicator_view_pager_insights);, getting an error message straight away
DotsIndicator: You have to set an adapter to the view pager before !
I do set the adapter right after the findViewById, shouldn't the message appear later on, if no adapter has yet been set?