Giter Site home page Giter Site logo

Comments (4)

CesarValiente avatar CesarValiente commented on June 9, 2024

Hi @ishanatmuz,

I think the library is quite well documented regarding the way to use and include it in your projects, with a nice readme and a small sample app that you can follow its steps.
Regarding the comments in the code, well there are some comments along the code and on the function headers, maybe is true that we can add more comments, but we have to avoid the problem of adding too much of them, so the code is unreadable.

As soon as I merge the different pull requests we have opened I will include some comments if I find them useful.

Thanks for your suggestion ;-)

from android-sliding-layer-lib.

sirvon avatar sirvon commented on June 9, 2024

+1
its not really all that well documented as far as the implementation goes.
this is my 2nd time trying to implement this lib
and it takes quite more time than any other lib i've used

because the available options/configuration, you have to do trial and error to get it right
the readme from the creator needs more explanation.

from android-sliding-layer-lib.

JlUgia avatar JlUgia commented on June 9, 2024

Good feedback sirvon, thanks for that.
It has been added to maven lately and it's very quick to get it running now. Which are the biggest pain points in your opinion? Also what is the most confusing part of the integration for you? Where did you have the biggest struggles?

There is also some work being done on a new app that gives a bit more of config freedom in order to get into it faster.

from android-sliding-layer-lib.

sirvon avatar sirvon commented on June 9, 2024

I got everything rocking and rolling now.

But the parts that had me like what the...

Was which option would allow me to leave a bit sticking out like to emulate say
media player controls...radio on the bottom.

slidingLayer:shadowDrawable="@drawable/sidebar_shadow"
        slidingLayer:shadowSize="0dp"
        slidingLayer:offsetDistance="115dp"
        slidingLayer:previewOffsetDistance="115dp"
        slidingLayer:stickTo="bottom"
        slidingLayer:changeStateOnTap="false"

I was trying to use the shadow but it wasn't really needed.
offsetDistance & previewOffsetDistance are kinda similar so you have to implement either one to really see what fits your use case.

Then I put a background on the Sliding layer itself which eventually ended up covering the whole view, so then I made sure I closed the view in onCreate but I eventually realized the Sliding Layer is just a container and the real views go inside.

But I like this lib I think it'll eventually ended being in the android framework somehow because its super useful for the design and flow of all applications. it is kinda sorta...the notification center.

So the work was worth it.

thanks for the lib!

edit:

maybe graphical show what these components are..
slidingLayer:shadowSize
slidingLayer:offsetDistance
slidingLayer:previewOffsetDistance

So one can save the compile time and get it right on the first go round.
just a thought.

from android-sliding-layer-lib.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.