This commit is contained in:
cundong 2017-08-07 20:30:59 +08:00
commit f3a69d3b16
2 changed files with 3 additions and 36 deletions

View File

@ -1,33 +0,0 @@
/*
* Copyright (C) 2005-2017 Qihoo 360 Inc.
*
* 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.qihoo360.loader2;
import android.app.Activity;
import android.os.Bundle;
/**
* @author RePlugin Team
*/
public interface ActivityLifecycleCallbacks {
void onActivityCreated(Activity activity, Bundle savedInstanceState);
void onActivityStarted(Activity activity);
void onActivityResumed(Activity activity);
void onActivityPaused(Activity activity);
void onActivityStopped(Activity activity);
void onActivitySaveInstanceState(Activity activity, Bundle outState);
void onActivityDestroyed(Activity activity);
}

View File

@ -344,12 +344,12 @@ public class RePlugin {
} }
/** /**
* 获取SDK的版本信息 * 获取当前版本
* *
* @return SDK的版本如2.0.0等 * @return 版本如2.0.0等
* @since 2.0.0 * @since 2.0.0
*/ */
public static String getSDKVersion() { public static String getVersion() {
return BuildConfig.VERSION_NAME; return BuildConfig.VERSION_NAME;
} }