Project

General

Profile

« Previous | Next » 

Revision a84c3a25

Added by Leszek Koltunski almost 3 years ago

Make it impossible to launch more than one Tutorial screen at a time.

View differences:

src/main/java/org/distorted/dialogs/RubikDialogTutorialPagerAdapter.java
50 50
    viewPager.setOffscreenPageLimit(1);
51 51
    }
52 52

  
53
///////////////////////////////////////////////////////////////////////////////////////////////////
54

  
55
  void clickPossible()
56
    {
57
    for(int i=0; i<mNumTabs; i++)
58
      {
59
      if( mViews[i]!=null )
60
        {
61
        mViews[i].clickPossible(true);
62
        }
63
      }
64
    }
65

  
53 66
///////////////////////////////////////////////////////////////////////////////////////////////////
54 67

  
55 68
  @Override

Also available in: Unified diff