Revision 244cc23f
Added by Leszek Koltunski 8 months ago
src/main/java/org/distorted/screens/RubikScreenSolver.java | ||
---|---|---|
25 | 25 |
import android.widget.ImageButton; |
26 | 26 |
import android.widget.LinearLayout; |
27 | 27 |
|
28 |
import org.distorted.dialogs.RubikDialogSolverImpossible; |
|
28 | 29 |
import org.distorted.objectlib.main.ObjectControl; |
29 | 30 |
import org.distorted.objectlib.signature.ObjectConstants; |
30 | 31 |
import org.distorted.objectlib.main.TwistyObject; |
... | ... | |
453 | 454 |
dialog.show( act.getSupportFragmentManager(), null); |
454 | 455 |
} |
455 | 456 |
} |
457 |
|
|
458 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
459 |
|
|
460 |
public void displayImpossibleDialog(String message) |
|
461 |
{ |
|
462 |
mSolving = false; |
|
463 |
RubikActivity act = mWeakAct.get(); |
|
464 |
|
|
465 |
if( act!=null ) |
|
466 |
{ |
|
467 |
RubikDialogSolverImpossible dialog = new RubikDialogSolverImpossible(); |
|
468 |
Bundle bundle = new Bundle(); |
|
469 |
bundle.putString("argument", message ); |
|
470 |
dialog.setArguments(bundle); |
|
471 |
dialog.show( act.getSupportFragmentManager(), null); |
|
472 |
} |
|
473 |
} |
|
456 | 474 |
} |
Also available in: Unified diff
New 'Impossible Position' dialog