@Override
public void onPageScrollStateChanged(int arg0)
{
if (lastNum == 1 && arg0 == 0 && _index == 1)
{
Logger.e(TAG, "--> lastNum == 1 && arg0 == 0");
GlobalAPP.setWelcomed(true);
startActivity(new Intent(context, MainActivityNew.class));
finish();
}
else if (arg0 == 0)
{
Logger.e(TAG, "--> arg0 == 0");
}
lastNum = arg0;
}
判断Android ViewPager滑动到最后一页
最新推荐文章于 2021-06-12 17:29:10 发布