|
|
@@ -4,6 +4,7 @@ import android.os.Bundle;
|
|
|
import android.view.View;
|
|
|
import android.widget.AbsListView;
|
|
|
import android.widget.AdapterView;
|
|
|
+import android.widget.Button;
|
|
|
import android.widget.LinearLayout;
|
|
|
import android.widget.TextView;
|
|
|
|
|
|
@@ -51,6 +52,8 @@ public class DishSelectActivity extends OABaseActivity {
|
|
|
private PinnedSectionListView lv_product;
|
|
|
|
|
|
private ShoppingCartPanel mShoppingCartPanel;
|
|
|
+
|
|
|
+ private Button bt_bottom;
|
|
|
|
|
|
private List<ProductCategory> productCategories=new ArrayList<>();
|
|
|
List<ProductCategory> productAllCategorys=new ArrayList<>();
|
|
|
@@ -74,7 +77,8 @@ public class DishSelectActivity extends OABaseActivity {
|
|
|
lv_product_category= findViewById(R.id.lv_product_category);
|
|
|
mBottmSheetLayout=findViewById(R.id.bottom_sheet_layout);
|
|
|
lv_product=findViewById(R.id.lv_dish_product);
|
|
|
- ll_bottom=findViewById(R.id.ll_bottom);
|
|
|
+// ll_bottom=findViewById(R.id.ll_bottom);
|
|
|
+ bt_bottom=findViewById(R.id.bt_bottom);
|
|
|
itemDishCategoryListAdapter=new ItemDishCategoryListAdapter(DishSelectActivity.this,productCategories);
|
|
|
lv_product_category.setAdapter( itemDishCategoryListAdapter);
|
|
|
lv_product_category.setSelection(0);
|
|
|
@@ -87,7 +91,7 @@ public class DishSelectActivity extends OABaseActivity {
|
|
|
}
|
|
|
private boolean isClickTrigger=true;
|
|
|
private void initEvent(){
|
|
|
- ll_bottom.setOnClickListener(new View.OnClickListener() {
|
|
|
+ bt_bottom.setOnClickListener(new View.OnClickListener() {
|
|
|
@Override
|
|
|
public void onClick(View view) {
|
|
|
showShoppingCartPanel();
|