-
Notifications
You must be signed in to change notification settings - Fork 278
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 #1050 from zhwanng/feat-sdoc-transferlist
Some new features
- Loading branch information
Showing
297 changed files
with
12,282 additions
and
3,659 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
15 changes: 15 additions & 0 deletions
15
app/src/main/java/com/seafile/seadroid2/annotation/NotSupport.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,15 @@ | ||
package com.seafile.seadroid2.annotation; | ||
|
||
import static java.lang.annotation.ElementType.CONSTRUCTOR; | ||
import static java.lang.annotation.ElementType.FIELD; | ||
import static java.lang.annotation.ElementType.METHOD; | ||
import static java.lang.annotation.ElementType.TYPE; | ||
|
||
import java.lang.annotation.Target; | ||
|
||
/** | ||
* There are no plans to develop this feature. | ||
*/ | ||
@Target({TYPE, METHOD, CONSTRUCTOR, FIELD}) | ||
public @interface NotSupport { | ||
} |
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
38 changes: 38 additions & 0 deletions
38
app/src/main/java/com/seafile/seadroid2/config/OriGlideUrl.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,38 @@ | ||
package com.seafile.seadroid2.config; | ||
|
||
import com.bumptech.glide.load.model.GlideUrl; | ||
import com.bumptech.glide.load.model.Headers; | ||
import com.seafile.seadroid2.framework.util.SLogs; | ||
|
||
import java.net.URL; | ||
|
||
public class OriGlideUrl extends GlideUrl { | ||
private String oriCacheKey; | ||
|
||
public OriGlideUrl(URL url) { | ||
super(url); | ||
} | ||
|
||
public OriGlideUrl(String url) { | ||
super(url); | ||
} | ||
|
||
public OriGlideUrl(String url, String oriCacheKey) { | ||
super(url); | ||
this.oriCacheKey = oriCacheKey; | ||
} | ||
|
||
|
||
public OriGlideUrl(URL url, Headers headers) { | ||
super(url, headers); | ||
} | ||
|
||
public OriGlideUrl(String url, Headers headers) { | ||
super(url, headers); | ||
} | ||
|
||
@Override | ||
public String getCacheKey() { | ||
return oriCacheKey; | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
app/src/main/java/com/seafile/seadroid2/config/WebViewActionConstant.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,19 @@ | ||
package com.seafile.seadroid2.config; | ||
|
||
public class WebViewActionConstant { | ||
public final static String APP_VERSION_GET = "app.version.get"; | ||
public final static String APP_TOAST_SHOW = "app.toast.show"; | ||
public final static String PAGE_FINISH = "page.finish"; | ||
public final static String PAGE_STATUS_COLOR_SET = "page.status.color.set"; | ||
public final static String PAGE_STATUS_HEIGHT_GET = "page.status.height.get"; | ||
|
||
public static class CallJsFunction { | ||
public final static String SDOC_OUTLINES_DATA_GET = "sdoc.outline.data.get"; | ||
public final static String SDOC_OUTLINES_DATA_SELECT = "sdoc.outline.data.select"; | ||
|
||
public static class CallJsFunctionRequestCode { | ||
public final static int REQ = 1001; | ||
} | ||
} | ||
|
||
} |
Oops, something went wrong.