Code Monkey home page Code Monkey logo

parallaxeverywhere's People

Contributors

alexodus avatar ashishg656 avatar borysstach avatar narfss avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

parallaxeverywhere's Issues

LICENSE file is missed

According to README

See the LICENSE file for more info.

there should be LICENSE file.

Could you please add it or give direct link to an external page? Thanks!

aar manifest causing headaches

the lib includes an unnecessary <application> tag in its AndroidManifest.xml and its children are confusing my build

[warn] <projectdir>/src/main/AndroidManifest.xml:12:9 Error:
[warn]  Attribute application@icon value=(@drawable/android:star_big_on) from AndroidManifest.xml:12:9
[warn]  is also present at <projectdir>/target/aars/com.fmsirvent-parallaxeverywhere-1.0.1:11:9 value=(@drawable/ic_launcher)
[warn]  Suggestion: add 'tools:replace="android:icon"' to <application> element at AndroidManifest.xml:10:5 to override
[warn] <projectdir>/src/main/AndroidManifest.xml:11:9 Error:
[warn]  Attribute application@label value=(Macroid Starter) from AndroidManifest.xml:11:9
[warn]  is also present at <projectdir>/target/aars/com.fmsirvent-parallaxeverywhere-1.0.1:12:9 value=(@string/app_name)
[warn]  Suggestion: add 'tools:replace="android:label"' to <application> element at AndroidManifest.xml:10:5 to override
[trace] Stack trace suppressed: run last android:processManifest for the full output.
[error] (android:processManifest) Manifest merger failed with multiple errors, see logs

Not working with Glide

Dear,
Thank you for great component. I have an issue. I am using Glide to download images. parallax is not working when using Glide. Please advise

Not working with RecyclerView?

Do you have a sample on how this library works? Specifically with a RecyclerView if possible? I'm adding the PEWImageVIew to my row layout and it's not working.

Anything I need to add to the view, or is it simply not compatible with a RecyclerView? i'm getting my image from a HTTP call, loading it in, maybe it's that?

Edit: It seems the PEWTextView works, just not the PEWImageView?

Not work with fresco when I use setImageUri

Hello, I try to use PEverywhere with SimpleDraweeView
and replace "extends ImageView" with "extends SimpleDraweeView"
it'll work when I use setImageResouce(int resId) (and I'v override this method in the class, add invalidate() ), but not work with setImageUri(Uri uri),

plz help!

Rendering Problem in Android Studio

The view displays but give the following rendering error.

The following classes could not be found:
- com.fmsirvent.ParallaxEverywhere.PEWImageView (Fix Build Path, Create Class)

I've searched for quite some time and not been able to resolve this, anyone else having this issue?

Parallax stops when PEWImageView is set to be a group in an ExpandableListView

Hello,

I am inflating a view with a PEWImageView in it. Like this:

@OverRide
public View getGroupView(int groupPosition, boolean isExpanded, View convertView, ViewGroup parent) {
LayoutInflater inflater = (LayoutInflater) this.currentContext
.getSystemService(Context.LAYOUT_INFLATER_SERVICE);

    if (groupPosition == 0){
        Log.d("Inflating: ", "Show Image Parallax");
        convertView = inflater.inflate(R.layout.parallax_show_image_layout,null);
        parallaxImageShowView = convertView;
        parallaxImageView = (PEWImageView) convertView.findViewById(R.id.show_parallax_image);
        parallaxImageView.setReverseY(true);
        Picasso.with(currentContext).load(showInfoBundle.getString("showImageUrl")).into(parallaxImageView);

}

<com.fmsirvent.ParallaxEverywhere.PEWImageView
    android:layout_width="match_parent"
    android:layout_height="250dp"
    android:scaleType="centerCrop"
    android:background="@color/c_black"
    pew:interpolation="accelerate"
    android:id="@+id/show_parallax_image"
    android:layout_alignParentStart="true" />

After the list is scrolled to the bottom or close to the bottom when you scroll back up I noticed that parallax effect stops and the image gets stuck in the position that the interpolator animation moved it after it did the parallax effect as I was scrolling down. It will not act the same way as I scroll up. It does it once and thats it. The only solution is to re-inflate the view when the list is scrolled to the bottom, but that is costly. Can you suggest a solution to this or is it something that I am doing wrong ?

Thank you.

Parallax not work on setImageBitmap() method

hi
I try to setImageBitmap() on PEWImageView but it not work,also not work on setImageDrawable() and all method for setBackground.
just setImageResource() worked, but I need to modify image then set it as image resource.
how I can do that?
thank you very much :)

Parallax effect on PEWImageView inside GridView is unnoticeable

I'm using PEWImageView in order to add parallax effect to some images inside a GridView, the problem is that the parallax effect on the images is almost unnoticeable.. Is it possible to specify the velocity of the parallax effect? is there any method already defined?

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.