/*
 * Copyright 2018 JessYan
 *
 * 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 me.jessyan.autosize;

import android.app.Activity;
import android.app.Application;

/**
 * ================================================
 * 屏幕适配逻辑策略类, 可通过 {@link AutoSizeConfig#init(Application, boolean, AutoAdaptStrategy)}
 * 和 {@link AutoSizeConfig#setAutoAdaptStrategy(AutoAdaptStrategy)} 切换策略
 *
 * @see DefaultAutoAdaptStrategy
 * Created by JessYan on 2018/8/9 15:13
 * <a href="mailto:jess.yan.effort@gmail.com">Contact me</a>
 * <a href="https://github.com/JessYanCoding">Follow me</a>
 * ================================================
 */
public interface AutoAdaptStrategy {

    /**
     * 开始执行屏幕适配逻辑
     *
     * @param activity 需要屏幕适配的 {@link Activity}
     */
    void applyAdapt(Activity activity);
}

@@ -675,16 +675,92 @@
 ication;
+%0Aimport android.support.v4.app.Fragment;%0Aimport android.util.DisplayMetrics;
 %0A%0A/**%0A *
@@ -1293,16 +1293,92 @@
 %0A     *%0A
+     * @param target   %E9%9C%80%E8%A6%81%E5%B1%8F%E5%B9%95%E9%80%82%E9%85%8D%E7%9A%84%E5%AF%B9%E8%B1%A1 (%E5%8F%AF%E8%83%BD%E6%98%AF %7B@link Activity%7D %E6%88%96%E8%80%85 %7B@link Fragment%7D)%0A
      * @
@@ -1394,20 +1394,20 @@
 ivity %E9%9C%80%E8%A6%81
-%E5%B1%8F%E5%B9%95%E9%80%82%E9%85%8D
+%E6%8B%BF%E5%88%B0%E5%BD%93%E5%89%8D
 %E7%9A%84 %7B@link
@@ -1416,16 +1416,52 @@
 ctivity%7D
+ %E6%89%8D%E8%83%BD%E4%BF%AE%E6%94%B9 %7B@link DisplayMetrics#density%7D
 %0A     */
@@ -1481,16 +1481,31 @@
 lyAdapt(
+Object target, 
 Activity

Improve AutoAdaptStrategy