Questions tagged [staggeredgridlayout]

99 questions
0
votes
1 answer

Is it possible to have a vertical recycler view with different widths for each row?

I am creating a recycler view and I have 2 types of itemviews in it. Each item view would have different widths(55dp for one and MatchParent for the another). If I create a recycler view with first 4 rows having width 55dp and the next 2 rows with…
0
votes
0 answers

StaggeredGridLayout Scroll position starts from bottom on applying reverse layout

I had used StaggeredGridLayout manage in recyclerview, and applied reverse layout as it was required but now it always starts from bottom while I want scroll position in top, I am providing my code below, any help will be much appreciated and as I m…
0
votes
1 answer

Staggered Grid View for Older API

I need staggered view for compileSdkVersion 26 minSdkVersion 15 targetSdkVersion 25 https://developer.android.com/reference/android/support/v7/widget/StaggeredGridLayoutManager.html needs API 22 o r higer.
0
votes
1 answer

Staggered Layout with inline-block, cant combine boxes vrtically

I want to place inline-block boxes vertically and horizontally combined, As in a staggered grid layout. i just want to place these blocks in staggered grid layout. i have tried vertical align:top, display:table-cell, parent font-size:0,…
user8395760
  • 5
  • 1
  • 5
0
votes
1 answer

Is it possible to use admob native ads with StaggeredGridLayoutManager?

I follow the firebase admob guides to add admob advanced native ads to my recyclerviewadapter. I can easily display ads with medium and big ads type. But my app also include staggered grid as view type. But i cannot display ads with this format and…
slymnozdmrc
  • 390
  • 2
  • 8
  • 20
0
votes
1 answer

Staggeredgridview inside swiperefreshlayout goes empty on swipe refresh

I have a StaggeredGridview inside a SwipeRefreshLayout which goes empty when i refreshes the grid using the swipe action even though my list is not empty (data). If i use the LinearLayoutManager instead of StaggeredGridLayoutManager everything is…
0
votes
0 answers

use EtsyStaggeredGridView library on my project but didn't work?

I use EtsyStaggeredGridView library on my project when I get from the tutorial. But I do not know where the error lies.
0
votes
0 answers

I want to display pictures with variable width and sizes from picasso in android using staggered Grid Layout like below picture

I have used normal staggered gridview like this: recyclerView.setLayoutManager(new StaggeredGridLayoutManager(3, 1)); And my layout file is: android:id="@+id/card_view" android:layout_gravity="center" android:layout_margin="10dp" …
0
votes
0 answers

Android, Any idea to show nested list with random width and height?

I have a nested list like A{a1, a2, a3...aN}, B{B1, BM}, .... O{O1, o2, ... OP} this. The list has a random number of members. Each member is also list with random of members. This will be shown like below image. As you see, outer cell's width and…
oyuka
  • 51
  • 5
0
votes
2 answers

Why does my StaggeredGrid RecyclerView layout every item, not only visible ones?

I have a Staggered grid containing 370 items, with images. I want to make sure the items are recycled quickly to be careful with memory, but a ViewHolder is created and then bound for every single item in my adapter and pays no attention to whether…
0
votes
0 answers

StaggeredGridLayoutManager bug

I have such problem. All my images in recycler view transfering to right side. This is my adapter adapter = new GalleryAdapter(new ArrayList<>(), galleryImage -> galleryLocationPresenter.openGallery(galleryImage), getContext()); …
0
votes
1 answer

How to implement Facebook photo grid alignment in Android

In my app, I used GridLayoutManager with spansize to align photos. However, this solution only creates static photo layout, not dynamic layout like Facebook's app. For example, here are my grid layouts with 3 and 5 photos: And here are Facebook's…
Hoang Lam
  • 523
  • 8
  • 23
0
votes
1 answer

Is there a way to make layout like Android StaggeredGridView using react-native in iOS

Android StaggeredGridLayout allows you to layout cards in columns with different height, like how Pinterest does. Is this possible using React-native on iOS?
jiawen
  • 1,198
  • 2
  • 17
  • 29
0
votes
1 answer

StaggeredGridLayoutManager dislocation (2)

Same problem, don't know if this counts as a duplicate. I have a problem with Android's StaggeredGridLayoutManager. The description of the problem is pretty much the same with StaggeredGridLayoutManager dislocation. Here's the screenshot (sorry for…
Zyoo
  • 773
  • 10
  • 30
0
votes
1 answer

Scrolling is not smooth in Android RecyclerView using StaggeredGridLayout

I created a RecyclerView with two columns using StaggeredGridLayoutManager, every item contain 2 images and text, the size for the first image can be (284*572 , 840*401 or 283*232) the second 35*35 and a text, the list looking great but the problem…