You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: