How to make asymmetric grid layout in sketchware pro tutorial 91

Published: 22 December 2021
on channel: Wild Food Pakistan
700
29

In this tutorial you will learn how to make Asymmetric grid layout using RecyclerView in Sketchware Pro. This is easiest tutorial to make asymmetric grid layout by adding a listener to Its GridLayoutManager.

Code:

GridLayoutManager Pixelhub = new GridLayoutManager(this, 3);

Pixelhub.setSpanSizeLookup(new GridLayoutManager.SpanSizeLookup() {
@Override
public int getSpanSize(int position) {
if (position % 3 == 2) {
return 3;
} switch (position % 4) {
case 1:
case 3:
return 1;
case 0:
case 2:
return 2;
default:
//never gonna happen
return -1 ;
}
}
});
recyclerview1.setLayoutManager(Pixelhub);

Share this video and subscribe the channel.

If you want to achieve any feature just comment me in details.

Visit : https://projectware.blogspot.com

Thank you.

#sketchware
#sketchwarepro
#how to
#tutorial
#asymmetric

Tags:
how to make floating window in sketchware, how to make injector in sketchware, how to make app store in sketchware, how to make app in sketchware, sketchware pro tutorials, sketchware app tutorial, sketchware tutorial, sketchware tutorials, how to make apps in smartphone, sketchware tutorials hindi, sketchware project store, sketchware revolution, sketchware projects, sketchware pro blocks, gridview in sketchware, how to make, how, how to,


Watch video How to make asymmetric grid layout in sketchware pro tutorial 91 online without registration, duration hours minute second in high quality. This video was added by user Wild Food Pakistan 22 December 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 700 once and liked it 29 people.