Skip to content

Commit e3c2476

Browse files
5.1.0 release
1 parent 188583d commit e3c2476

38 files changed

+1505
-290
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
Change Log
22
==========
3+
Version 5.1.0 *(2018-09-27)*
4+
----------------------------
5+
6+
* [Feature] Single file choice can now be enforced with `FsConstants.EXTRA_ALLOW_MULTIPLE_FILES` flag. This flag defaults to **true** which means that without setting it to false, a user can choose multiple files to upload.
7+
* [UI change] Source name (like Dropbox/Facebook) is now displayed in Action Bar.
8+
* [UI fix] Checkmarks of selected files are now properly tinted.
9+
* Java SDK has been updated to the recent version (`0.8.2`).
310

411
Version 5.0.0-0.3.0 *(2018-05-21)*
512
----------------------------

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5.0.0-0.3.0
1+
5.1.0

docs/allclasses-frame.html

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<!-- NewPage -->
33
<html lang="en">
44
<head>
5-
<!-- Generated by javadoc (1.8.0_152-release) on Mon May 21 12:31:34 CDT 2018 -->
6-
<title>All Classes (filestack 5.0.0-0.3.0 API)</title>
7-
<meta name="date" content="2018-05-21">
5+
<!-- Generated by javadoc (1.8.0_144) on Thu Sep 27 12:28:32 CEST 2018 -->
6+
<title>All Classes (filestack 5.1.0 API)</title>
7+
<meta name="date" content="2018-09-27">
88
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
99
<script type="text/javascript" src="script.js"></script>
1010
</head>
@@ -16,15 +16,16 @@ <h1 class="bar">All&nbsp;Classes</h1>
1616
<li><a href="com/filestack/android/internal/CameraFragment.html" title="class in com.filestack.android.internal" target="classFrame">CameraFragment</a></li>
1717
<li><a href="com/filestack/android/internal/CloudAuthFragment.html" title="class in com.filestack.android.internal" target="classFrame">CloudAuthFragment</a></li>
1818
<li><a href="com/filestack/android/internal/CloudListFragment.html" title="class in com.filestack.android.internal" target="classFrame">CloudListFragment</a></li>
19-
<li><a href="com/filestack/android/internal/CloudListViewTarget.html" title="class in com.filestack.android.internal" target="classFrame">CloudListViewTarget</a></li>
20-
<li><a href="com/filestack/android/internal/CloudSourceData.html" title="class in com.filestack.android.internal" target="classFrame">CloudSourceData</a></li>
2119
<li><a href="com/filestack/android/internal/Constants.html" title="class in com.filestack.android.internal" target="classFrame">Constants</a></li>
2220
<li><a href="com/filestack/android/FsActivity.html" title="class in com.filestack.android" target="classFrame">FsActivity</a></li>
2321
<li><a href="com/filestack/android/FsConstants.html" title="class in com.filestack.android" target="classFrame">FsConstants</a></li>
2422
<li><a href="com/filestack/android/internal/LocalFilesFragment.html" title="class in com.filestack.android.internal" target="classFrame">LocalFilesFragment</a></li>
2523
<li><a href="com/filestack/android/Selection.html" title="class in com.filestack.android" target="classFrame">Selection</a></li>
2624
<li><a href="com/filestack/android/internal/SelectionSaver.html" title="interface in com.filestack.android.internal" target="classFrame"><span class="interfaceName">SelectionSaver</span></a></li>
2725
<li><a href="com/filestack/android/internal/SelectionSaver.Listener.html" title="interface in com.filestack.android.internal" target="classFrame"><span class="interfaceName">SelectionSaver.Listener</span></a></li>
26+
<li><a href="com/filestack/android/internal/Selector.html" title="interface in com.filestack.android.internal" target="classFrame"><span class="interfaceName">Selector</span></a></li>
27+
<li><a href="com/filestack/android/internal/Selector.Multi.html" title="class in com.filestack.android.internal" target="classFrame">Selector.Multi</a></li>
28+
<li><a href="com/filestack/android/internal/Selector.Single.html" title="class in com.filestack.android.internal" target="classFrame">Selector.Single</a></li>
2829
<li><a href="com/filestack/android/internal/SimpleSelectionSaver.html" title="class in com.filestack.android.internal" target="classFrame">SimpleSelectionSaver</a></li>
2930
<li><a href="com/filestack/android/internal/SourceInfo.html" title="class in com.filestack.android.internal" target="classFrame">SourceInfo</a></li>
3031
<li><a href="com/filestack/android/internal/SpacingDecoration.html" title="class in com.filestack.android.internal" target="classFrame">SpacingDecoration</a></li>

docs/allclasses-noframe.html

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<!-- NewPage -->
33
<html lang="en">
44
<head>
5-
<!-- Generated by javadoc (1.8.0_152-release) on Mon May 21 12:31:34 CDT 2018 -->
6-
<title>All Classes (filestack 5.0.0-0.3.0 API)</title>
7-
<meta name="date" content="2018-05-21">
5+
<!-- Generated by javadoc (1.8.0_144) on Thu Sep 27 12:28:32 CEST 2018 -->
6+
<title>All Classes (filestack 5.1.0 API)</title>
7+
<meta name="date" content="2018-09-27">
88
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
99
<script type="text/javascript" src="script.js"></script>
1010
</head>
@@ -16,15 +16,16 @@ <h1 class="bar">All&nbsp;Classes</h1>
1616
<li><a href="com/filestack/android/internal/CameraFragment.html" title="class in com.filestack.android.internal">CameraFragment</a></li>
1717
<li><a href="com/filestack/android/internal/CloudAuthFragment.html" title="class in com.filestack.android.internal">CloudAuthFragment</a></li>
1818
<li><a href="com/filestack/android/internal/CloudListFragment.html" title="class in com.filestack.android.internal">CloudListFragment</a></li>
19-
<li><a href="com/filestack/android/internal/CloudListViewTarget.html" title="class in com.filestack.android.internal">CloudListViewTarget</a></li>
20-
<li><a href="com/filestack/android/internal/CloudSourceData.html" title="class in com.filestack.android.internal">CloudSourceData</a></li>
2119
<li><a href="com/filestack/android/internal/Constants.html" title="class in com.filestack.android.internal">Constants</a></li>
2220
<li><a href="com/filestack/android/FsActivity.html" title="class in com.filestack.android">FsActivity</a></li>
2321
<li><a href="com/filestack/android/FsConstants.html" title="class in com.filestack.android">FsConstants</a></li>
2422
<li><a href="com/filestack/android/internal/LocalFilesFragment.html" title="class in com.filestack.android.internal">LocalFilesFragment</a></li>
2523
<li><a href="com/filestack/android/Selection.html" title="class in com.filestack.android">Selection</a></li>
2624
<li><a href="com/filestack/android/internal/SelectionSaver.html" title="interface in com.filestack.android.internal"><span class="interfaceName">SelectionSaver</span></a></li>
2725
<li><a href="com/filestack/android/internal/SelectionSaver.Listener.html" title="interface in com.filestack.android.internal"><span class="interfaceName">SelectionSaver.Listener</span></a></li>
26+
<li><a href="com/filestack/android/internal/Selector.html" title="interface in com.filestack.android.internal"><span class="interfaceName">Selector</span></a></li>
27+
<li><a href="com/filestack/android/internal/Selector.Multi.html" title="class in com.filestack.android.internal">Selector.Multi</a></li>
28+
<li><a href="com/filestack/android/internal/Selector.Single.html" title="class in com.filestack.android.internal">Selector.Single</a></li>
2829
<li><a href="com/filestack/android/internal/SimpleSelectionSaver.html" title="class in com.filestack.android.internal">SimpleSelectionSaver</a></li>
2930
<li><a href="com/filestack/android/internal/SourceInfo.html" title="class in com.filestack.android.internal">SourceInfo</a></li>
3031
<li><a href="com/filestack/android/internal/SpacingDecoration.html" title="class in com.filestack.android.internal">SpacingDecoration</a></li>

docs/com/filestack/android/FsActivity.html

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22
<!-- NewPage -->
33
<html lang="en">
44
<head>
5-
<!-- Generated by javadoc (1.8.0_152-release) on Mon May 21 12:31:34 CDT 2018 -->
6-
<title>FsActivity (filestack 5.0.0-0.3.0 API)</title>
7-
<meta name="date" content="2018-05-21">
5+
<!-- Generated by javadoc (1.8.0_144) on Thu Sep 27 12:28:32 CEST 2018 -->
6+
<title>FsActivity (filestack 5.1.0 API)</title>
7+
<meta name="date" content="2018-09-27">
88
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
99
<script type="text/javascript" src="../../../script.js"></script>
1010
</head>
1111
<body>
1212
<script type="text/javascript"><!--
1313
try {
1414
if (location.href.indexOf('is-external=true') == -1) {
15-
parent.document.title="FsActivity (filestack 5.0.0-0.3.0 API)";
15+
parent.document.title="FsActivity (filestack 5.1.0 API)";
1616
}
1717
}
1818
catch(err) {
@@ -150,6 +150,27 @@ <h2 title="Class FsActivity" class="title">Class FsActivity</h2>
150150
<pre>public class <span class="typeNameLabel">FsActivity</span>
151151
extends android.support.v7.app.AppCompatActivity
152152
implements io.reactivex.SingleObserver&lt;com.filestack.CloudResponse&gt;, io.reactivex.CompletableObserver, <a href="../../../com/filestack/android/internal/SelectionSaver.Listener.html" title="interface in com.filestack.android.internal">SelectionSaver.Listener</a>, android.support.design.widget.NavigationView.OnNavigationItemSelectedListener</pre>
153+
<div class="block">UI to select and upload files from local and cloud sources.
154+
155+
This class should be launched through the creation and sending of an {<code>Intent</code>}.
156+
Options are set by passing values to <code>Intent.putExtra(String, String)</code>.
157+
The keys and descriptions for these options are defined in {<a href="../../../com/filestack/android/FsConstants.html" title="class in com.filestack.android"><code>FsConstants</code></a>}.
158+
159+
There are two types of results from this activity, the files a user selects ({<a href="../../../com/filestack/android/Selection.html" title="class in com.filestack.android"><code>Selection</code></a>})
160+
and the metadata returned when these selections are uploaded ({<code>FileLink</code>}).
161+
Automatic uploads can be disabled, in which case you will not receive any of the latter.
162+
163+
User selections are returned as an {<code>ArrayList</code>} of {<a href="../../../com/filestack/android/Selection.html" title="class in com.filestack.android"><code>Selection</code></a>} objects to
164+
{<code>Activity.onActivityResult(int, int, Intent)</code>}. To receive upload metadata,
165+
you must define and register a {<code>BroadcastReceiver</code>}. The corresponding
166+
{<code>IntentFilter</code>} must be created to catch
167+
{<a href="../../../com/filestack/android/FsConstants.html#BROADCAST_UPLOAD"><code>FsConstants.BROADCAST_UPLOAD</code></a>}. Upload metadata is returned as
168+
{<code>FileLink</code>} objects passed to
169+
{<code>BroadcastReceiver.onReceive(Context, Intent)</code>}. The key strings needed to
170+
pull results from intents are defined in {<a href="../../../com/filestack/android/FsConstants.html" title="class in com.filestack.android"><code>FsConstants</code></a>}.
171+
172+
The intent and broadcast mechanisms, and keys defined in {<a href="../../../com/filestack/android/FsConstants.html" title="class in com.filestack.android"><code>FsConstants</code></a>}, are the contract
173+
for this class. The actual code of this class should be considered internal implementation.</div>
153174
</li>
154175
</ul>
155176
</div>

0 commit comments

Comments
 (0)