Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
sabbir073 opened this issue Sep 16, 2019 · 10 comments
Closed

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

sabbir073 opened this issue Sep 16, 2019 · 10 comments

Comments

@sabbir073
Copy link

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
Copy link

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

@kilo-swodh
Copy link

same to me

@vickyKDV
Copy link

same to me, please fix it

@vickyKDV
Copy link

fixed

@sabbir073
Copy link
Author

vickyKDV how you fixed it?

@vickyKDV
Copy link

vickyKDV commented Jan 25, 2020

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
Copy link

SaiferGit commented Mar 27, 2020

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
Copy link

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
Copy link
Owner

scwang90 commented Jun 7, 2020

1.0.0
1.0.0-andx
正式版已经发布

@scwang90 scwang90 closed this as completed Jun 7, 2020
@Stephan-Robert
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants