-
-
Notifications
You must be signed in to change notification settings - Fork 447
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from zhpanvip/v_2.4.0
V 2.4.0-Support multi-page in one screen
- Loading branch information
Showing
69 changed files
with
995 additions
and
388 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
app/src/main/java/com/example/zhpan/circleviewpager/activity/BaseDataActivity.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package com.example.zhpan.circleviewpager.activity; | ||
|
||
import androidx.appcompat.app.AppCompatActivity; | ||
|
||
import android.os.Bundle; | ||
|
||
import java.util.ArrayList; | ||
import java.util.List; | ||
|
||
public abstract class BaseDataActivity extends AppCompatActivity { | ||
protected List<Integer> mDrawableList = new ArrayList<>(); | ||
@Override | ||
protected void onCreate(Bundle savedInstanceState) { | ||
super.onCreate(savedInstanceState); | ||
initData(); | ||
} | ||
|
||
private void initData() { | ||
for (int i = 0; i <= 3; i++) { | ||
int drawable2 = getResources().getIdentifier("t" + i, "drawable", getPackageName()); | ||
mDrawableList.add(drawable2); | ||
} | ||
} | ||
} |
67 changes: 0 additions & 67 deletions
67
app/src/main/java/com/example/zhpan/circleviewpager/activity/CustomIndicatorActivity.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.