@@ -0,0 +1,1469 @@
+/*%0A * Copyright 2018 JessYan%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *      http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0Apackage me.jessyan.autosize;%0A%0Aimport android.app.Activity;%0Aimport android.support.v4.app.Fragment;%0A%0A/**%0A * ================================================%0A * %E5%B1%8F%E5%B9%95%E9%80%82%E9%85%8D%E7%9B%91%E5%90%AC%E5%99%A8%EF%BC%8C%E7%94%A8%E4%BA%8E%E7%9B%91%E5%90%AC%E5%B1%8F%E5%B9%95%E9%80%82%E9%85%8D%E6%97%B6%E7%9A%84%E4%B8%80%E4%BA%9B%E4%BA%8B%E4%BB%B6%0A * %3Cp%3E%0A * Created by JessYan on 2018/10/30 16:29%0A * %3Ca href=%22mailto:jess.yan.effort@gmail.com%22%3EContact me%3C/a%3E%0A * %3Ca href=%22https://github.com/JessYanCoding%22%3EFollow me%3C/a%3E%0A * ================================================%0A */%0Apublic interface onAdaptListener %7B%0A    /**%0A     * %E5%9C%A8%E5%B1%8F%E5%B9%95%E9%80%82%E9%85%8D%E5%89%8D%E8%B0%83%E7%94%A8%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     * @param activity %E5%BD%93%E5%89%8D %7B@link Activity%7D%0A     */%0A    void onAdaptBefore(Object target, Activity activity);%0A%0A    /**%0A     * %E5%9C%A8%E5%B1%8F%E5%B9%95%E9%80%82%E9%85%8D%E5%90%8E%E8%B0%83%E7%94%A8%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     * @param activity %E5%BD%93%E5%89%8D %7B@link Activity%7D%0A     */%0A    void onAdaptAfter(Object target, Activity activity);%0A%7D%0A

Create onAdaptListener