conference-app-2017 icon indicating copy to clipboard operation
conference-app-2017 copied to clipboard

Use RecyclerView custom LayoutManager

Open konifar opened this issue 8 years ago • 7 comments

Overview (Required)

To be honest, I wanted to use RecyclerView custom LayoutManager. But it's difficult to catch up in a short time. So I implemented like this.

If we use LayoutManager, the users can swipe vertically, horizontally, and diagonally.

Links

  • https://github.com/DroidKaigi/conference-app-2017/pull/66

konifar avatar Feb 03 '17 10:02 konifar

@konifar Did you try this one: https://github.com/zhouchaoyuan/excelPanel , looks promise ...

eneim avatar Feb 17 '17 07:02 eneim

@eneim Thanks! I didn't know that! Have you ever tasted this library?

konifar avatar Feb 17 '17 07:02 konifar

@konifar Suppose to do it right now. If it works well I will have further notice (a PR maybe :trollface: )

eneim avatar Feb 17 '17 08:02 eneim

@eneim Cool 🆒 Thanks! I'm looking forward to. I also take a look the code of the library 😃

konifar avatar Feb 17 '17 08:02 konifar

@konifar Also reading the code too. It looks like he use more than one Adapter to make thing done. But let see if it provides better performance than current implementation.

eneim avatar Feb 17 '17 08:02 eneim

I see. BTW, my concerns are below.

  1. Can this lib combine cells vertically/horizontally?
  2. Can this lib take scrolling diagonally?
  3. Can this lib customize item layout?

konifar avatar Feb 17 '17 08:02 konifar

@konifar Your concern makes sense. I'm also investigating its flexibility. Right now what I can see is the library's concept is to use 3 RecyclerViews to mimic the Excel sheet UI, and it is un-cleared if it can be diagonally scrolled, so it may not fit our usecase 100%. Let's look further into it and see if we can adapt and have a better implementation.

eneim avatar Feb 17 '17 08:02 eneim