VIEW class

package com.gsls.b_mvp.view.activity; import android.os.Bundle;import android.widget.TextView; import androidx.fragment.app.Fragment; import com.gsls.b_mvp.R;import com.gsls.b_mvp.base.BaseActivity;import com.gsls.b_mvp.view.fragment.DomeFragment1;import com.gsls.b_mvp.view.fragment.DomeFragment2;import com.gsls.b_mvp.view.fragment3;import com.gsls.b_mvp.view.fragment.DomeFragment4;import com.gsls.b_mvp.view.util.GT; import java.util.ArrayList;import java.util.List; /** * author: hello * time: 2019 /7/5 * CSDN: qq_39799899 * explain: only responsible for loading the View layer**/public abstract class MainView extends BaseActivity {protected GT.GT_Fragment gt_fragment; private Bundle savedInstanceState; protected TextView tv; @Override protected int initLayout(Bundle savedInstanceState) { this.savedInstanceState = savedInstanceState; return R.layout.activity_main;} @Override protected void initData() {initView();//Initialize View component initFragment();//Initialize Fragment manager} private void initView(){ tv = findVie wById(R.id.main_version);} private void initFragment(http://www.amjmh.com/v/) {//Add Fragment to be managed List list = new ArrayList<>(); list. add(new DomeFragment1()); list.add(new DomeFragment2()); list.add(new DomeFragment3()); list.add(new DomeFragment4()); //Instantiate Fragment management tool gt_fragment = new GT. GT_Fragment(savedInstanceState,this,getSupportFragmentManager()); gt_fragment.initFragment(R.id.main_fl,list,0);//Initialize Fragment Management Tool} }

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 3594 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.