修改测试问题,shouye ytuijian

This commit is contained in:
18401019693 2022-08-10 15:15:18 +08:00
parent 6c18b2f806
commit 8c6b04685a
2 changed files with 13 additions and 4 deletions

View File

@ -77,7 +77,18 @@ public class SearchResultsItemFragment extends BaseFragment {
changeBatch.setOnClickListener(new View.OnClickListener() { changeBatch.setOnClickListener(new View.OnClickListener() {
@Override @Override
public void onClick(View v) { public void onClick(View v) {
Bus.get().post(new SearchRecommendEvent()); MainNetManager.get(getActivity())
.anchorRecommend("10", new HttpCallback<AnchorRecommendModel>() {
@Override
public void onSuccess(AnchorRecommendModel data) {
adapter.showData(data.getList());
}
@Override
public void onError(String error) {
}
});
} }
}); });
MainNetManager.get(getActivity()) MainNetManager.get(getActivity())

View File

@ -53,7 +53,6 @@
<androidx.core.widget.NestedScrollView <androidx.core.widget.NestedScrollView
android:layout_width="match_parent" android:layout_width="match_parent"
android:focusableInTouchMode="true"
android:layout_height="match_parent"> android:layout_height="match_parent">
@ -61,7 +60,6 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:gravity="center_horizontal" android:gravity="center_horizontal"
android:descendantFocusability="blocksDescendants"
android:orientation="vertical"> android:orientation="vertical">
<ImageView <ImageView
@ -77,7 +75,7 @@
android:layout_marginTop="31dp" android:layout_marginTop="31dp"
android:layout_marginRight="15dp"> android:layout_marginRight="15dp">
<ImageView <ImageButton
android:id="@+id/change_batch" android:id="@+id/change_batch"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:clickable="true" android:clickable="true"