scwang90 / MultiWaveHeader

Wave,水波,Android 炫酷的多重水波纹 MultiWaveHeader
1.78k stars 232 forks source link

Is not working in android x, wave is not showing #14

Closed sabbir073 closed 4 years ago

sabbir073 commented 5 years ago

com.scwang.wave:MultiWaveHeader:1.0.0-andx-3 is getting error in build.

not working in android X

Error: failed to resolve com.scwang.wave:MultiWaveHeader:1.0.0-andx-3

MycroftWong commented 5 years ago

同样的问题,我把源码弄下来了 @scwang90

kilo-swodh commented 4 years ago

same to me

vickyKDV commented 4 years ago

same to me, please fix it

vickyKDV commented 4 years ago

fixed

sabbir073 commented 4 years ago

vickyKDV how you fixed it?

vickyKDV commented 4 years ago

vickyKDV how you fixed it?

yes fixed it, Im used implementation 'com.scwang.wave:MultiWaveHeader:1.0.0-alpha-1' but implementation 'com.scwang.wave:MultiWaveHeader:1.0.0-alpha-3' and implementation 'com.scwang.wave:MultiWaveHeader:1.0.0-andx-3' not working !!

and used

<com.scwang.wave.MultiWaveHeader android:id="@+id/waveHeader" android:layout_width="match_parent" android:layout_height="200dp" android:scaleY="-1" app:mwhVelocity="1" app:mwhProgress="1" app:mwhRunning="true" << REMOVE app:mwhGradientAngle="45" app:mwhWaveHeight="50dp" app:mwhColorAlpha="0.45" app:mwhStartColor="@color/colorPrimaryDark" app:mwhCloseColor="@color/primaryColor" app:mwhWaves="MultiWave"/>

it's working for me... :)

SaiferGit commented 4 years ago

For me -3 wasn't working. Instead of I used: implementation 'com.scwang.wave:MultiWaveHeader:1.0.0-alpha-1'

XML Code for mine:
<com.scwang.wave.MultiWaveHeader android:id="@+id/waveHeader" android:layout_width="match_parent" android:layout_height="450dp" app:mwhStartColor="@color/Your_Start_Color" app:mwhCloseColor="@color/Yor_End_Color" app:mwhWaves="MultiWave"/> Java Code for mine: Multiheader waveHeader = findViewById(R.id.waveHeader); waveHeader.setColorAlpha(.5f); waveHeader.setVelocity(5f); waveHeader.setProgress(1f); waveHeader.isRunning(); waveHeader.setGradientAngle(45); waveHeader.setWaveHeight(50);

BharathKSunil commented 4 years ago

I have updated a few things and made a release:

implementation 'com.github.BharathKSunil:MultiWaveHeader:v1.0.0-alpha-4'

UPDATES:

Created an issue #20 to make a release and update readme for the author

scwang90 commented 4 years ago

1.0.0 1.0.0-andx 正式版已经发布

Stephan-Robert commented 1 year ago

Class reference not found. I copied @BharathKSunil 's implementation. And any other implementation, like alpha -1, -4, andx, all of the above. Nothing seems to work. Are there any settings you have to set in Android Studio that I don't know of?

error: Class referenced in the layout file, com.scwang.wave.MultiWaveHeader, was not found in the project or the libraries Cannot resolve class com.scwang.wave.MultiWaveHeader