| | |
| | | import com.hdl.photovoltaic.ui.adapter.MessageAdapter; |
| | | import com.hdl.photovoltaic.ui.bean.MessageBean; |
| | | import com.hdl.photovoltaic.ui.bean.UnCountBean; |
| | | import com.hdl.photovoltaic.widget.TypeTitleListDialog; |
| | | import com.hdl.photovoltaic.widget.BTypeTitleListDialog; |
| | | import com.hdl.sdk.link.core.bean.eventbus.BaseEventBus; |
| | | |
| | | import org.greenrobot.eventbus.EventBus; |
| | |
| | | * @param stringList 过滤类型值表 |
| | | */ |
| | | private void setTypeTitleListDialog(TextView textView, String filterType, List<String> stringList) { |
| | | TypeTitleListDialog typeTitleListDialog = new TypeTitleListDialog(_mActivity, stringList); |
| | | BTypeTitleListDialog typeTitleListDialog = new BTypeTitleListDialog(_mActivity, stringList); |
| | | typeTitleListDialog.show(); |
| | | typeTitleListDialog.setOnListener(new TypeTitleListDialog.OnClickListener() { |
| | | typeTitleListDialog.setOnListener(new BTypeTitleListDialog.OnClickListener() { |
| | | @Override |
| | | public void onClick(int position, String title) { |
| | | textView.setText(title); |