Card view Sketchware Pro use liatview & recycleview



 final CarouselLayoutManager recyclerview1layout = new CarouselLayoutManager(CarouselLayoutManager.HORIZONTAL,true);

recyclerview1layout.setPostLayoutListener(new CarouselZoomPostLayoutListener());

recyclerview1.addOnScrollListener(new CenterScrollListener());

recyclerview1.setLayoutManager(recyclerview1layout);

recyclerview1.setHasFixedSize(true);

Comments