DroidKaigi / conference-app-2017

The Official Conference App for DroidKaigi 2017 Tokyo
Apache License 2.0
470 stars 140 forks source link

Use RecyclerView custom LayoutManager #72

Open konifar opened 7 years ago

konifar commented 7 years ago

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

eneim commented 7 years ago

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

konifar commented 7 years ago

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

eneim commented 7 years ago

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

konifar commented 7 years ago

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

eneim commented 7 years ago

@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.

konifar commented 7 years ago

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?
eneim commented 7 years ago

@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.