@@ -0,0 +1,1432 @@
+/*%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 */%0A%0Apackage %7B%7Bpackage_name%7D%7D.presenters;%0A%0Aimport java.lang.ref.WeakReference;%0Aimport java.security.InvalidParameterException;%0A%0Aimport %7B%7Bpackage_name%7D%7D.mvp.presenters.MVPPresenter;%0Aimport %7B%7Bpackage_name%7D%7D.views.%7B%7Bview_name%7D%7D;%0A%0A/**%0A * Created by %7B%7Bauthor%7D%7D on %7B%7Bcreate_time%7D%7D.%0A */%0Apublic class %7B%7Bpresenter_name%7D%7D extends MVPPresenter %7B%0A    protected static final String TAG = %22%7B%7Bpresenter_name%7D%7D%22;%0A    %0A    private WeakReference%3C%7B%7Bview_name%7D%7D%3E m%7B%7Bview_name%7D%7D;%0A%0A    public %7B%7Bpresenter_name%7D%7D(%7B%7Bview_name%7D%7D view) %7B%0A        if (view == null)%0A            throw new InvalidParameterException(%22view cannot be null%22);%0A%0A        m%7B%7Bview_name%7D%7D = new WeakReference%3C%7B%7Bview_name%7D%7D%3E(view);%0A    %7D%0A%0A    @Override%0A    public void start() %7B%0A        Log.d(TAG, %22%7B%7Bpresenter_name%7D%7D start.%22);%0A    %7D%0A%0A    @Override%0A    public void stop() %7B%0A        Log.d(TAG, %22%7B%7Bpresenter_name%7D%7D stop.%22);%0A    %7D%0A%7D%0A

Create TemplatePresenter.java