Closed sabbir073 closed 4 years ago
同样的问题,我把源码弄下来了 @scwang90
same to me
same to me, please fix it
fixed
vickyKDV how you fixed it?
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... :)
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);
I have updated a few things and made a release:
implementation 'com.github.BharathKSunil:MultiWaveHeader:v1.0.0-alpha-4'
UPDATES:
app:mwhRunning="true"
to app:mwhIsRunning="true"
Created an issue #20 to make a release and update readme for the author
1.0.0 1.0.0-andx 正式版已经发布
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
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