Why are some views located inside the legacy tab in Android Studio 3.1 and what replaces them?

ListView – replaced with RecyclerView

TabHost – replaced with TabLayout

RelativeLayout – replaced with ConstraintLayout

GridView – replaced with ConstraintLayout

Mostly due to the new ones having better performance.

RecyclerView.Adapter has implemented the popular and recommended holder pattern and supports modern layout transitions. It also accepts a layout manager allowing you to easily implement a grid.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)