andraskindler / parallaxviewpager

[Development stopped in 2014. Unfinished and not stable - not recommended to use.] An easy-to-use ViewPager subclass with parallax background effect for Android apps.
438 stars 86 forks source link

Tiny sample please? #1

Open AndroidDeveloperLB opened 10 years ago

AndroidDeveloperLB commented 10 years ago

Please put a small sample for the library.

andraskindler commented 10 years ago

Check out this blogpost.

AndroidDeveloperLB commented 10 years ago

That's where I found this library from... I meant a real project that you can just import via Eclipse...

andraskindler commented 10 years ago

The instructions are pretty clear: include the library, choose a background, then paste the oncreate and layout codes to the proper files, and you're all set. The lib is really simple now, but if it gets a bit more complex, I'll provide a sample.

AndroidDeveloperLB commented 10 years ago

I know, but it's best to show a sample no matter how easy it is to use a library. it makes it easier to decide if the library is worth being used, instead of having to create a new project, read all the instructions and write code for each alternative library.

Think about it this way: suppose you had 10 possible libraries to choose from. Wouldn't it be easier to decide which library to use based on the samples too, and to show what it can do and how well it performs, even before writing a single line of code ? Not only that, but sometimes the developer cannot decide what to choose. Sometimes it's the team leader. So it reduces the time it's needed to show the team leader what's available.

In addition, you can easily publish your library's sample to other websites and services, such as "AndroidViews.net" website, "DevAppsDirect" app, and "libraries for developers" app.

andraskindler commented 10 years ago

But while a library requires only a few lines of code to work, it might not be necessary. Nevertheless, I'll provide a few sample files in the upcoming days. Thanks for the feedback! And of course, if you have any questions, feel free to ask, providing the sample might take a few days, so if you need help setting it up, message me!

AndroidDeveloperLB commented 10 years ago

You could even put links to other libraries/samples/apps you have, to show people what other cool things you've made.

dianvaltodorov commented 10 years ago

I got really confused with this adapter and how to define. Please put a sample app. Thank you!! I really appreciate all the efforts you have made to create this project

igor-brishkoski commented 10 years ago

+1 for the sample, I think i tried every possible combination for setting the background and it doesn't work. Maybe I'm missing something, it would be nice to look on the sample.

kobynet commented 9 years ago

Same here, background isnt invalidated until transition is made.

tayyabataimur commented 8 years ago

what about the pageradapter? what are we supposed to write in that