Sherlock ActionMode.Callback onDestroyActionMode
<p>i have a class that implements ActionMode.Callback
there i want to check it befor its destroys.
Something like this :</p>

<pre><code>public void onDestroyActionMode(ActionMode mode) {
if (...) {

         Toast.makeText(getApplicationContext(),
         getString(R.string.error),
         Toast.LENGTH_SHORT).show();
else
finish();
</code></pre>

<p>Thanks a lot when someone can help me.</p>
