修改测试问题,shouye ytuijian
This commit is contained in:
parent
6c18b2f806
commit
8c6b04685a
@ -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())
|
||||||
|
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user