Skip to content

findViewById, causing missing adapter error #37

@DiogoTheCoder

Description

@DiogoTheCoder

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions