| | |
| | | package com.lcjian.library.emotion; |
| | | |
| | | import android.os.Bundle; |
| | | import android.support.v4.app.Fragment; |
| | | import androidx.fragment.app.Fragment; |
| | | import android.view.Gravity; |
| | | import android.view.LayoutInflater; |
| | | import android.view.View; |
| | |
| | | |
| | | @Override |
| | | public void onViewCreated(View view, Bundle savedInstanceState) { |
| | | GridView gridView = (GridView) view.findViewById(R.id.gv_emotion); |
| | | GridView gridView = view.findViewById(R.id.gv_emotion); |
| | | gridView.setAdapter(new EmotionAdapter()); |
| | | gridView.setOnItemClickListener(new OnItemClickListener() { |
| | | |
| | |
| | | } |
| | | |
| | | public interface OnEditListener { |
| | | public void onBack(); |
| | | public void onAdd(CharSequence text); |
| | | void onBack(); |
| | | void onAdd(CharSequence text); |
| | | } |
| | | } |