forked from didi/DoKit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feature/maidian-20220714'
# Conflicts: # Android/config.gradle
- Loading branch information
Showing
15 changed files
with
103 additions
and
24 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
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
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
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 |
---|---|---|
|
@@ -173,9 +173,7 @@ configurations.all { | |
// } | ||
} | ||
} | ||
repositories { | ||
mavenCentral() | ||
} | ||
|
||
|
||
|
||
|
||
|
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
42 changes: 42 additions & 0 deletions
42
Android/dokit/src/main/java/com/didichuxing/doraemonkit/datapick/DataPickUtils.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,42 @@ | ||
package com.didichuxing.doraemonkit.datapick; | ||
|
||
import android.app.Activity; | ||
|
||
import com.didichuxing.doraemonkit.util.ActivityUtils; | ||
|
||
/** | ||
* didi Create on 2022/7/14 . | ||
* <p> | ||
* Copyright (c) 2022/7/14 by didiglobal.com. | ||
* | ||
* @author <a href="[email protected]">zhangjun</a> | ||
* @version 1.0 | ||
* @Date 2022/7/14 2:57 下午 | ||
* @Description 用一句话说明文件功能 | ||
*/ | ||
|
||
public class DataPickUtils { | ||
|
||
|
||
private static String mDoKitHomeClickPage = ""; | ||
|
||
private DataPickUtils() { | ||
} | ||
|
||
public static String getCurrentPage() { | ||
Activity activity = ActivityUtils.getTopActivity(); | ||
if (activity != null) { | ||
return activity.getClass().getName(); | ||
} | ||
return ""; | ||
} | ||
|
||
|
||
public static void setDoKitHomeClickPage(String pageId) { | ||
mDoKitHomeClickPage = pageId; | ||
} | ||
|
||
public static String getDoKitHomeClickPage() { | ||
return mDoKitHomeClickPage; | ||
} | ||
} |
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
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
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