blob: 1b693ba4029d884b1ee4d734a48d9a8a3c98e426 [file] [log] [blame]
/*******************************************************************************
* Copyright (C) 2012 Google Inc.
* Licensed to The Android Open Source Project.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*******************************************************************************/
package com.android.mail.ui;
/**
* This interface is used to send notifications back to the calling
* activity. MenuHandler takes care of updating the provider, so this
* interface should be used for notification purposes only (such as updating
* the UI).
*/
// Called MenuHandler.ActivityCallback in the previous code.
public interface DragListener {
/**
* Invoked when user starts drag and drop mode.
*/
void onStartDragMode();
/**
* Invoked when user stops drag and drop mode.
*/
void onStopDragMode();
}