diff --git a/main/src/main/java/com/yunbao/main/fragment/SearchResultsItemFragment.java b/main/src/main/java/com/yunbao/main/fragment/SearchResultsItemFragment.java index 6a759cd45..3bdb153dd 100644 --- a/main/src/main/java/com/yunbao/main/fragment/SearchResultsItemFragment.java +++ b/main/src/main/java/com/yunbao/main/fragment/SearchResultsItemFragment.java @@ -77,7 +77,18 @@ public class SearchResultsItemFragment extends BaseFragment { changeBatch.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { - Bus.get().post(new SearchRecommendEvent()); + MainNetManager.get(getActivity()) + .anchorRecommend("10", new HttpCallback() { + @Override + public void onSuccess(AnchorRecommendModel data) { + adapter.showData(data.getList()); + + } + + @Override + public void onError(String error) { + } + }); } }); MainNetManager.get(getActivity()) diff --git a/main/src/main/res/layout/view_search_results_item.xml b/main/src/main/res/layout/view_search_results_item.xml index 79cd9bcf1..e74388a8e 100644 --- a/main/src/main/res/layout/view_search_results_item.xml +++ b/main/src/main/res/layout/view_search_results_item.xml @@ -53,7 +53,6 @@ @@ -61,7 +60,6 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:gravity="center_horizontal" - android:descendantFocusability="blocksDescendants" android:orientation="vertical"> -