Skip to content

Commit

Permalink
feat:
Browse files Browse the repository at this point in the history
1. 方便增加banner依赖, 修改原banner包名
2. 修改compileSdkVersion
3. 修改compileOptions
  • Loading branch information
GitHubWebb committed Dec 28, 2023
1 parent 920eca2 commit 8f30805
Show file tree
Hide file tree
Showing 33 changed files with 58 additions and 58 deletions.
6 changes: 3 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 29
compileSdkVersion 30
buildToolsVersion '27.0.3'

defaultConfig {
Expand All @@ -22,8 +22,8 @@ android {
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}

}
Expand Down
4 changes: 2 additions & 2 deletions config/common.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ android {

// 支持 Java JDK 8
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}

buildFeatures {
Expand Down
4 changes: 2 additions & 2 deletions frameLibraryWidget/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ android {
}

compileOptions {//使用JAVA8语法解析
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}

}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.youth.banner;
package com.framelibrary.youth.banner;

import android.content.Context;
import android.content.res.TypedArray;
Expand All @@ -22,10 +22,10 @@
import androidx.viewpager.widget.ViewPager;

import com.framelibrary.R;
import com.youth.banner.listener.OnBannerClickListener;
import com.youth.banner.listener.OnBannerListener;
import com.youth.banner.loader.ImageLoaderInterface;
import com.youth.banner.view.BannerViewPager;
import com.framelibrary.youth.banner.listener.OnBannerClickListener;
import com.framelibrary.youth.banner.listener.OnBannerListener;
import com.framelibrary.youth.banner.loader.ImageLoaderInterface;
import com.framelibrary.youth.banner.view.BannerViewPager;

import java.lang.reflect.Field;
import java.util.ArrayList;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.youth.banner;
package com.framelibrary.youth.banner;


public class BannerConfig {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.youth.banner;
package com.framelibrary.youth.banner;

import android.content.Context;
import android.view.animation.Interpolator;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
package com.youth.banner;
package com.framelibrary.youth.banner;

import androidx.viewpager.widget.ViewPager;

import com.youth.banner.transformer.AccordionTransformer;
import com.youth.banner.transformer.BackgroundToForegroundTransformer;
import com.youth.banner.transformer.CubeInTransformer;
import com.youth.banner.transformer.CubeOutTransformer;
import com.youth.banner.transformer.DefaultTransformer;
import com.youth.banner.transformer.DepthPageTransformer;
import com.youth.banner.transformer.FlipHorizontalTransformer;
import com.youth.banner.transformer.FlipVerticalTransformer;
import com.youth.banner.transformer.ForegroundToBackgroundTransformer;
import com.youth.banner.transformer.RotateDownTransformer;
import com.youth.banner.transformer.RotateUpTransformer;
import com.youth.banner.transformer.ScaleInOutTransformer;
import com.youth.banner.transformer.StackTransformer;
import com.youth.banner.transformer.TabletTransformer;
import com.youth.banner.transformer.ZoomInTransformer;
import com.youth.banner.transformer.ZoomOutSlideTransformer;
import com.youth.banner.transformer.ZoomOutTranformer;
import com.framelibrary.youth.banner.transformer.AccordionTransformer;
import com.framelibrary.youth.banner.transformer.BackgroundToForegroundTransformer;
import com.framelibrary.youth.banner.transformer.CubeInTransformer;
import com.framelibrary.youth.banner.transformer.CubeOutTransformer;
import com.framelibrary.youth.banner.transformer.DefaultTransformer;
import com.framelibrary.youth.banner.transformer.DepthPageTransformer;
import com.framelibrary.youth.banner.transformer.FlipHorizontalTransformer;
import com.framelibrary.youth.banner.transformer.FlipVerticalTransformer;
import com.framelibrary.youth.banner.transformer.ForegroundToBackgroundTransformer;
import com.framelibrary.youth.banner.transformer.RotateDownTransformer;
import com.framelibrary.youth.banner.transformer.RotateUpTransformer;
import com.framelibrary.youth.banner.transformer.ScaleInOutTransformer;
import com.framelibrary.youth.banner.transformer.StackTransformer;
import com.framelibrary.youth.banner.transformer.TabletTransformer;
import com.framelibrary.youth.banner.transformer.ZoomInTransformer;
import com.framelibrary.youth.banner.transformer.ZoomOutSlideTransformer;
import com.framelibrary.youth.banner.transformer.ZoomOutTranformer;

public class Transformer {
public static Class<? extends ViewPager.PageTransformer> Default = DefaultTransformer.class;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.youth.banner;
package com.framelibrary.youth.banner;

import android.os.Handler;
import android.os.Looper;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.youth.banner.listener;
package com.framelibrary.youth.banner.listener;


/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.youth.banner.listener;
package com.framelibrary.youth.banner.listener;

public interface OnBannerListener {
void OnBannerClick(int position);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.youth.banner.loader;
package com.framelibrary.youth.banner.loader;

import android.content.Context;
import android.widget.ImageView;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.youth.banner.loader;
package com.framelibrary.youth.banner.loader;

import android.content.Context;
import android.view.View;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.youth.banner.transformer;
package com.framelibrary.youth.banner.transformer;

import android.view.View;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.youth.banner.transformer;
package com.framelibrary.youth.banner.transformer;

import android.view.View;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.youth.banner.transformer;
package com.framelibrary.youth.banner.transformer;

import android.view.View;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.youth.banner.transformer;
package com.framelibrary.youth.banner.transformer;

import android.view.View;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.youth.banner.transformer;
package com.framelibrary.youth.banner.transformer;

import android.view.View;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.youth.banner.transformer;
package com.framelibrary.youth.banner.transformer;

import android.view.View;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.youth.banner.transformer;
package com.framelibrary.youth.banner.transformer;

import android.view.View;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.youth.banner.transformer;
package com.framelibrary.youth.banner.transformer;

import android.view.View;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.youth.banner.transformer;
package com.framelibrary.youth.banner.transformer;

import android.view.View;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.youth.banner.transformer;
package com.framelibrary.youth.banner.transformer;

import android.view.View;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.youth.banner.transformer;
package com.framelibrary.youth.banner.transformer;

import android.view.View;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.youth.banner.transformer;
package com.framelibrary.youth.banner.transformer;

import android.view.View;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.youth.banner.transformer;
package com.framelibrary.youth.banner.transformer;

import android.view.View;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.youth.banner.transformer;
package com.framelibrary.youth.banner.transformer;

import android.view.View;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.youth.banner.transformer;
package com.framelibrary.youth.banner.transformer;

import android.graphics.Camera;
import android.graphics.Matrix;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.youth.banner.transformer;
package com.framelibrary.youth.banner.transformer;

import android.view.View;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.youth.banner.transformer;
package com.framelibrary.youth.banner.transformer;

import android.view.View;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.youth.banner.transformer;
package com.framelibrary.youth.banner.transformer;

import android.view.View;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.youth.banner.view;
package com.framelibrary.youth.banner.view;

import android.content.Context;
import android.util.AttributeSet;
Expand Down
2 changes: 1 addition & 1 deletion frameLibraryWidget/src/main/res/layout/banner.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
android:layout_height="match_parent"
android:clipChildren="false">

<com.youth.banner.view.BannerViewPager
<com.framelibrary.youth.banner.view.BannerViewPager
android:id="@id/bannerViewPager"
android:layout_width="match_parent"
android:layout_height="match_parent"
Expand Down
2 changes: 1 addition & 1 deletion splitedittextview/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ apply plugin: 'com.android.library'
group = 'com.github.GitHubWebb'

android {
compileSdkVersion 29
compileSdkVersion 30
buildToolsVersion "29.0.3"

defaultConfig {
Expand Down

0 comments on commit 8f30805

Please sign in to comment.