K
K
Kirill2018-08-31 17:14:26
Android
Kirill, 2018-08-31 17:14:26

What is the difference and which one is better to use?

What is the difference between androidx.cardview.widget.CardViewand com.google.android.material.card.MaterialCardView?
And what is the best way to use it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
illuzor, 2018-08-31
@PainMain

MaterialCardView is part of the new MaterialDesign library. It even looks different from CardView.
Which one to use is up to you. But if you are making an application in the new material design (which is called material design 2.0), then it would be more logical to use MaterialCardView.
https://habr.com/company/mobileup/blog/419545/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question