我创建了包含cardview(firebasedatabse)的Recyclerview,我的cardview内容要自动删除?

时间:2019-06-21 12:23:23

标签: android firebase android-recyclerview cardview

我创建了Recyclerview,其中包含cardview个内容,我的cardview内容要自动删除?

@Override
    public void onitemclick(int position) {

        Modelclassforrecyclerview selecteditem=muploads.get(position);
        String selectedkey=selecteditem.getMkey();

        StorageReference 
        img1ref=mstorage1.getReferenceFromUrl(selecteditem.getImageuri1());

        StorageReference 
        img2ref=mstorage2.getReferenceFromUrl(selecteditem.getImageuri2());

        Examplebottamsheetdialog examplebottamsheetdialog=new 
 Examplebottamsheetdialog(selecteditem.getImageuri1(),selecteditem.getImageuri2(),selectedkey);

        examplebottamsheetdialog.show(getSupportFragmentManager(),"Example bottom sheet");
        }

0 个答案:

没有答案