Project

General

Profile

« Previous | Next » 

Revision a6d3b158

Added by Leszek Koltunski about 4 years ago

Progress with Pretty Patterns.

View differences:

src/main/java/org/distorted/uistate/RubikStatePlay.java
65 65

  
66 66
///////////////////////////////////////////////////////////////////////////////////////////////////
67 67

  
68
  void enterState(final RubikActivity act, RubikState prev)
68
  void enterState(final RubikActivity act)
69 69
    {
70 70
    LayoutInflater inflater = act.getLayoutInflater();
71 71

  
......
141 141
    mBackButton.setId(BUTTON_ID_BACK);
142 142
    mBackButton.setPadding(padding,0,padding,0);
143 143
    mBackButton.setText(R.string.back);
144
    mBackButton.setOnClickListener(act);
144

  
145
    mBackButton.setOnClickListener( new View.OnClickListener()
146
      {
147
      @Override
148
      public void onClick(View v)
149
        {
150
        RubikState.goBack(act);
151
        }
152
      });
145 153
    }
146 154

  
147 155
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff