Comments (4)
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.
+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.
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.
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)
- get older version to have middle position of this library
- Fill sliding menu on screen
- Nested Layouts
- ListView scroll doesnt close the sliding layer HOT 1
- Problem with listview scroll
- onSwipeListener HOT 4
- attach view to sliding layer instead of using into main layout
- VerticalScrollview inside slidinglayer vertical right. On Scroll closes the slidinglayer. HOT 1
- IllegalArgumentException pointerIndex out of range
- implementing onBackPressed for SlidingLayer HOT 2
- Action after touch SlidingLayer (MotionEvent)
- Click events are sunk even when changeStateOnTap is false.
- horizontal scroll inside a vertical sliding layout HOT 1
- Swipe other view then open the slidinglayer
- Swipe
- A bug in OnInteractListener
- Explicit dimension
- Close layer on tap outside HOT 2
- Sliding Layer With ListView And Close Layer With Gesture
- Recycler view inside sliding layer
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-sliding-layer-lib.