Android P visibilityawareimagebutton.setVisibility can only be called from the same library group

前端 未结 8 1850
不思量自难忘°
不思量自难忘° 2020-12-23 20:00

I\'m trying to use the new Android P FloatingActionButton that\'s part of the com.google.android.material.floatingactionbutton.FloatingActionButton and I\'m get

8条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-23 20:46

    if(data){
                fragmentPendingApprovalDetailsBinding.fabPendingList.show();
            }else {
                fragmentPendingApprovalDetailsBinding.fabPendingList.hide();
            }
    

提交回复
热议问题