Search in sources :

Example 1 with SearchListInfos

use of com.seven.seven.search.model.SearchListInfos in project seven_develop by seven123456.

the class SearchDetailActivity method disposeSearchKEvents.

@Subscribe(threadMode = ThreadMode.MAIN)
public void disposeSearchKEvents(SearchKEvent searchKEvent) {
    switch(searchKEvent.getWhat()) {
        case Constans.SEARCHK:
            SearchListInfos listInfosList = (SearchListInfos) searchKEvent.getData();
            initRecyclerData(listInfosList.getDatas());
            break;
        case Constans.SEARCHKERROR:
            showErrorToast(searchKEvent.getData().toString());
            break;
    }
}
Also used : SearchListInfos(com.seven.seven.search.model.SearchListInfos) Subscribe(org.greenrobot.eventbus.Subscribe)

Aggregations

SearchListInfos (com.seven.seven.search.model.SearchListInfos)1 Subscribe (org.greenrobot.eventbus.Subscribe)1