@@ -0,0 +1,1656 @@
+/*%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.activity;%0A%0Aimport android.app.Activity;%0Aimport android.content.Context;%0A%0Aimport %7B%7Bpackage_name%7D%7D.R;%0Aimport %7B%7Bpackage_name%7D%7D.mvp.presenters.%7B%7Bpresenter_name%7D%7D;%0Aimport %7B%7Bpackage_name%7D%7D.mvp.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%7Bactivity_name%7D%7D extends Activity implements %7B%7Bview_name%7D%7D %7B%0A%0A    public static final String TAG = %22%7B%7Bactivity_name%7D%7D%22;%0A%0A    private %7B%7Bpresenter_name%7D%7D mPresenter;%0A    %0A    @Override%0A    protected void onCreate(Bundle savedInstanceState) %7B%0A        super.onCreate(savedInstanceState);%0A        setContentView(R.layout.your_activity_layout);%0A        setupData();%0A        setupViews(null);%0A    %7D%0A%0A    private void setupData() %7B%0A%0A    %7D%0A%0A    @Override%0A    public void setupViews(View rootView) %7B%0A%0A    %7D%0A%0A    @Override%0A    public Context getContext() %7B%0A        return this;%0A    %7D%0A%0A    @Override%0A    protected void onStart() %7B%0A        super.onStart();%0A        this.mPresenter.start();%0A    %7D%0A%0A    @Override%0A    protected void onStop() %7B%0A        super.onStop();%0A        this.mPresenter.stop();%0A    %7D%0A%7D%0A

Create TemplateActivity.java