How to get the size of the file stored in firebase storage and its link in firebase storage?
here is my code to get the file size but I am unable to get it.:-
ImageURL is stored in realtime database
Picasso.get().load(ImageURL).placeholder(R.drawable.ic_baseline_image_200)
.into(selected_title_image)
val storageReference = FirebaseStorage.getInstance().getReferenceFromUrl(ImageURL)
ImageSize = storageReference.getBytes()
ImageSize /= 1024
Toast.makeText(baseContext, ImageSize.toString(), Toast.LENGTH_SHORT).show()
I use the reference of...