| | |
| | | import android.view.animation.Transformation; |
| | | import android.widget.FrameLayout; |
| | | import android.widget.LinearLayout; |
| | | import android.widget.PopupWindow; |
| | | |
| | | |
| | | import androidx.constraintlayout.widget.ConstraintLayout; |
| | | import androidx.lifecycle.Observer; |
| | | |
| | | import com.android.app_base.manager.AppManager; |
| | | import com.android.app_base.utils.ScreenSizeUtils; |
| | | import com.android.app_base.utils.ToastUtils; |
| | | import com.android.app_base.widget.LinearItemDecoration; |
| | | import com.application.zhangshi_app_android.BR; |
| | |
| | | private GrowthExperienceRelationshipRvAdapter relationshipRvAdapter; |
| | | private GrowthExperienceHolderConditionRvAdapter holderConditionRvAdapter; |
| | | private GrowthExperienceAbroadConditionRvAdapter abroadConditionRvAdapter; |
| | | |
| | | private PopupWindow mOperatePopupWindow; |
| | | |
| | | |
| | | @Override |
| | | public int getLayoutId() { |
| | |
| | | binding.rvAbroad.setNestedScrollingEnabled(false); |
| | | binding.rvAbroad.setAdapter(abroadConditionRvAdapter); |
| | | |
| | | mOperatePopupWindow = initPopUpWindow(View.inflate(this,R.layout.pop_personal_notepad,null)); |
| | | mOperatePopupWindow.getContentView().findViewById(R.id.layout_personal_notepad).setOnClickListener(new View.OnClickListener() { |
| | | @Override |
| | | public void onClick(View v) { |
| | | mOperatePopupWindow.dismiss(); |
| | | AppManager.getAppManager().startActivity(PersonalNotepadActivity.class); |
| | | } |
| | | }); |
| | | binding.ivOperate.setOnClickListener(v -> { |
| | | mOperatePopupWindow.showAsDropDown(binding.ivOperate,-ScreenSizeUtils.dip2px(this,85) +binding.ivOperate.getWidth(),0); |
| | | }); |
| | | |
| | | } |
| | | |
| | | @Override |