Skip to content

Previous page position #1

@santral06

Description

@santral06

Hi, I'm using MathFactCards to create viewpager with asynctask.
But there is a problem I couldnt solve .
When we setText the position uri[0] to textview (tv) which is inflated in pageradapter, it shows positions correctly.

But when we use setText uri[0] for MainActivity's textview , it gives me wrong positions; especially when we swipe previous page.

in FetchFactTask:
outTxt.setText(uri[0]+""] => correct position order
MainActivity.TxtView.setText(uri[0]+""] => wrong positions

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions