How to make asymmetric grid layout in sketchware pro tutorial 91

Опубликовано: 22 Декабрь 2021
на канале: 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,


Смотрите видео How to make asymmetric grid layout in sketchware pro tutorial 91 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Wild Food Pakistan 22 Декабрь 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 700 раз и оно понравилось 29 людям.