// Path: app/src/main/java/com/cxsj/runhdu/adapters/HelpAdapter.java
// public class HelpAdapter extends ArrayAdapter<HelpItem> {
//     private int resourceId;
//     public HelpAdapter(Context context, int textViewResourceId, List<HelpItem> objects){
//         super(context,textViewResourceId,objects);
//         resourceId = textViewResourceId;
//     }
// 
//     @NonNull
//     @Override
//     public View getView(int position, View convertView, ViewGroup parent) {
//         HelpItem help_item = getItem(position);
//         View view = LayoutInflater.from(getContext()).inflate(resourceId,parent,false);
//         TextView title = (TextView) view.findViewById(R.id.help_title);
//         TextView info = (TextView) view.findViewById(R.id.help_info);
//         title.setText(help_item.getTitle());
//         info.setText(help_item.getInfo());
//         return view;
//     }
// }
// 
// Path: app/src/main/java/com/cxsj/runhdu/bean/HelpItem.java
// public class HelpItem {
//     private String title;
//     private String info;
// 
//     public HelpItem(String title, String info){
//         this.title = title;
//         this.info = info;
//     }
//     public String getTitle(){
//         return title;
//     }
// 
//     public String getInfo() {
//         return info;
//     }
// }


import android.animation.ValueAnimator;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.ListView;
import android.widget.TextView;
import com.cxsj.runhdu.adapters.HelpAdapter;
import com.cxsj.runhdu.bean.HelpItem;
import java.util.ArrayList;
import java.util.List;
import static android.view.View.MeasureSpec.makeMeasureSpec;
package com.cxsj.runhdu;






/**
 * 帮助
 */
public class HelpActivity extends BaseActivity {
    private List<HelpItem> helpList = new ArrayList<>();
    private final int duration = 200;

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_help);
        setToolbar(R.id.help_toolbar, true);
        initHelpItem();
// Path: app/src/main/java/com/cxsj/runhdu/adapters/HelpAdapter.java
// public class HelpAdapter extends ArrayAdapter<HelpItem> {
//     private int resourceId;
//     public HelpAdapter(Context context, int textViewResourceId, List<HelpItem> objects){
//         super(context,textViewResourceId,objects);
//         resourceId = textViewResourceId;
//     }
// 
//     @NonNull
//     @Override
//     public View getView(int position, View convertView, ViewGroup parent) {
//         HelpItem help_item = getItem(position);
//         View view = LayoutInflater.from(getContext()).inflate(resourceId,parent,false);
//         TextView title = (TextView) view.findViewById(R.id.help_title);
//         TextView info = (TextView) view.findViewById(R.id.help_info);
//         title.setText(help_item.getTitle());
//         info.setText(help_item.getInfo());
//         return view;
//     }
// }
// 
// Path: app/src/main/java/com/cxsj/runhdu/bean/HelpItem.java
// public class HelpItem {
//     private String title;
//     private String info;
// 
//     public HelpItem(String title, String info){
//         this.title = title;
//         this.info = info;
//     }
//     public String getTitle(){
//         return title;
//     }
// 
//     public String getInfo() {
//         return info;
//     }
// }


// Path: app/src/main/java/com/cxsj/runhdu/HelpActivity.java
import android.animation.ValueAnimator;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.ListView;
import android.widget.TextView;
import com.cxsj.runhdu.adapters.HelpAdapter;
import com.cxsj.runhdu.bean.HelpItem;
import java.util.ArrayList;
import java.util.List;
import static android.view.View.MeasureSpec.makeMeasureSpec;

package com.cxsj.runhdu;






/**
 * 帮助
 */
public class HelpActivity extends BaseActivity {
    private List<HelpItem> helpList = new ArrayList<>();
    private final int duration = 200;

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_help);
        setToolbar(R.id.help_toolbar, true);
        initHelpItem();
        HelpAdapter adapter = new HelpAdapter(HelpActivity.this, R.layout.help_item, helpList);