Skip to content

Commit

Permalink
added image preview variants
Browse files Browse the repository at this point in the history
  • Loading branch information
luca committed Aug 4, 2020
1 parent bddcd4f commit bccb493
Show file tree
Hide file tree
Showing 16 changed files with 209 additions and 13 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ buildscript {
kotlin_ver = '1.3.72'
ktx_core_ver = '1.3.1'
ktlint_ver = '0.37.2'
constr_ver = '2.0.0-beta8'
constr_ver = '2.0.0-rc1'
annot_ver = '1.1.0'
retrofit_ver = '2.9.0'
moshi_ver = '1.9.3' // '1.10.0-SNAPSHOT'
okhttp_ver = '4.8.0'
oauth2_ver = '1.2.1'
mdc_ver = '1.1.0'
mdc_ver = '1.2.0'
epoxy_ver = '3.11.0'

test_ver = '1.2.0'
Expand Down
3 changes: 3 additions & 0 deletions docs/lib/alltypes/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,9 @@ <h5><a href="../com.kirkbushman.araw.models.general/-image-detail/index.html">co
<h5><a href="../com.kirkbushman.araw.models.general/-images/index.html">com.kirkbushman.araw.models.general.Images</a></h5>
</tr>
<tr>
<h5><a href="../com.kirkbushman.araw.models.general/-image-variants/index.html">com.kirkbushman.araw.models.general.ImageVariants</a></h5>
</tr>
<tr>
<h5><a href="../com.kirkbushman.araw.fetcher/-inbox-fetcher/index.html">com.kirkbushman.araw.fetcher.InboxFetcher</a></h5>
</tr>
<tr>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>ImageVariants.<init> - lib</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">lib</a>&nbsp;/&nbsp;<a href="../index.html">com.kirkbushman.araw.models.general</a>&nbsp;/&nbsp;<a href="index.html">ImageVariants</a>&nbsp;/&nbsp;<a href="./-init-.html">&lt;init&gt;</a><br/>
<br/>
<h1>&lt;init&gt;</h1>
<a name="com.kirkbushman.araw.models.general.ImageVariants$&lt;init&gt;(com.kirkbushman.araw.models.general.Images, com.kirkbushman.araw.models.general.Images)"></a>
<code><span class="identifier">ImageVariants</span><span class="symbol">(</span><span class="identifier">@Json</span><span class="symbol">(</span>"gif"<span class="symbol">)</span> <span class="identifier" id="com.kirkbushman.araw.models.general.ImageVariants$<init>(com.kirkbushman.araw.models.general.Images, com.kirkbushman.araw.models.general.Images)/gif">gif</span><span class="symbol">:</span>&nbsp;<a href="../-images/index.html"><span class="identifier">Images</span></a><span class="symbol">?</span><span class="symbol">, </span><span class="identifier">@Json</span><span class="symbol">(</span>"mp4"<span class="symbol">)</span> <span class="identifier" id="com.kirkbushman.araw.models.general.ImageVariants$<init>(com.kirkbushman.araw.models.general.Images, com.kirkbushman.araw.models.general.Images)/mp4">mp4</span><span class="symbol">:</span>&nbsp;<a href="../-images/index.html"><span class="identifier">Images</span></a><span class="symbol">?</span><span class="symbol">)</span></code>
</BODY>
</HTML>
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>ImageVariants.gif - lib</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">lib</a>&nbsp;/&nbsp;<a href="../index.html">com.kirkbushman.araw.models.general</a>&nbsp;/&nbsp;<a href="index.html">ImageVariants</a>&nbsp;/&nbsp;<a href="./gif.html">gif</a><br/>
<br/>
<h1>gif</h1>
<a name="com.kirkbushman.araw.models.general.ImageVariants$gif"></a>
<code><span class="keyword">val </span><span class="identifier">gif</span><span class="symbol">: </span><a href="../-images/index.html"><span class="identifier">Images</span></a><span class="symbol">?</span></code>
</BODY>
</HTML>
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>ImageVariants - lib</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">lib</a>&nbsp;/&nbsp;<a href="../index.html">com.kirkbushman.araw.models.general</a>&nbsp;/&nbsp;<a href="./index.html">ImageVariants</a><br/>
<br/>
<h1>ImageVariants</h1>
<code><span class="identifier">@JsonClass</span><span class="symbol">(</span>true<span class="symbol">)</span> <span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">ImageVariants</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="https://developer.android.com/reference/android/os/Parcelable.html"><span class="identifier">Parcelable</span></a></code>
<h3>Constructors</h3>
<table>
<tbody>
<tr>
<td>
<h4><a href="-init-.html">&lt;init&gt;</a></h4>
</td>
<td>
<code><span class="identifier">ImageVariants</span><span class="symbol">(</span><span class="identifier" id="com.kirkbushman.araw.models.general.ImageVariants$<init>(com.kirkbushman.araw.models.general.Images, com.kirkbushman.araw.models.general.Images)/gif">gif</span><span class="symbol">:</span>&nbsp;<a href="../-images/index.html"><span class="identifier">Images</span></a><span class="symbol">?</span><span class="symbol">, </span><span class="identifier" id="com.kirkbushman.araw.models.general.ImageVariants$<init>(com.kirkbushman.araw.models.general.Images, com.kirkbushman.araw.models.general.Images)/mp4">mp4</span><span class="symbol">:</span>&nbsp;<a href="../-images/index.html"><span class="identifier">Images</span></a><span class="symbol">?</span><span class="symbol">)</span></code></td>
</tr>
</tbody>
</table>
<h3>Properties</h3>
<table>
<tbody>
<tr>
<td>
<h4><a href="gif.html">gif</a></h4>
</td>
<td>
<code><span class="keyword">val </span><span class="identifier">gif</span><span class="symbol">: </span><a href="../-images/index.html"><span class="identifier">Images</span></a><span class="symbol">?</span></code></td>
</tr>
<tr>
<td>
<h4><a href="mp4.html">mp4</a></h4>
</td>
<td>
<code><span class="keyword">val </span><span class="identifier">mp4</span><span class="symbol">: </span><a href="../-images/index.html"><span class="identifier">Images</span></a><span class="symbol">?</span></code></td>
</tr>
</tbody>
</table>
</BODY>
</HTML>
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>ImageVariants.mp4 - lib</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">lib</a>&nbsp;/&nbsp;<a href="../index.html">com.kirkbushman.araw.models.general</a>&nbsp;/&nbsp;<a href="index.html">ImageVariants</a>&nbsp;/&nbsp;<a href="./mp4.html">mp4</a><br/>
<br/>
<h1>mp4</h1>
<a name="com.kirkbushman.araw.models.general.ImageVariants$mp4"></a>
<code><span class="keyword">val </span><span class="identifier">mp4</span><span class="symbol">: </span><a href="../-images/index.html"><span class="identifier">Images</span></a><span class="symbol">?</span></code>
</BODY>
</HTML>
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<a href="../../index.html">lib</a>&nbsp;/&nbsp;<a href="../index.html">com.kirkbushman.araw.models.general</a>&nbsp;/&nbsp;<a href="index.html">Images</a>&nbsp;/&nbsp;<a href="./-init-.html">&lt;init&gt;</a><br/>
<br/>
<h1>&lt;init&gt;</h1>
<a name="com.kirkbushman.araw.models.general.Images$&lt;init&gt;(kotlin.String, com.kirkbushman.araw.models.general.ImageDetail, kotlin.Array((com.kirkbushman.araw.models.general.ImageDetail)))"></a>
<code><span class="identifier">Images</span><span class="symbol">(</span><span class="identifier">@Json</span><span class="symbol">(</span>"id"<span class="symbol">)</span> <span class="identifier" id="com.kirkbushman.araw.models.general.Images$<init>(kotlin.String, com.kirkbushman.araw.models.general.ImageDetail, kotlin.Array((com.kirkbushman.araw.models.general.ImageDetail)))/id">id</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier">@Json</span><span class="symbol">(</span>"source"<span class="symbol">)</span> <span class="identifier" id="com.kirkbushman.araw.models.general.Images$<init>(kotlin.String, com.kirkbushman.araw.models.general.ImageDetail, kotlin.Array((com.kirkbushman.araw.models.general.ImageDetail)))/source">source</span><span class="symbol">:</span>&nbsp;<a href="../-image-detail/index.html"><span class="identifier">ImageDetail</span></a><span class="symbol">, </span><span class="identifier">@Json</span><span class="symbol">(</span>"resolutions"<span class="symbol">)</span> <span class="identifier" id="com.kirkbushman.araw.models.general.Images$<init>(kotlin.String, com.kirkbushman.araw.models.general.ImageDetail, kotlin.Array((com.kirkbushman.araw.models.general.ImageDetail)))/resolutions">resolutions</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html"><span class="identifier">Array</span></a><span class="symbol">&lt;</span><a href="../-image-detail/index.html"><span class="identifier">ImageDetail</span></a><span class="symbol">&gt;</span><span class="symbol">)</span></code>
<a name="com.kirkbushman.araw.models.general.Images$&lt;init&gt;(kotlin.String, com.kirkbushman.araw.models.general.ImageDetail, kotlin.Array((com.kirkbushman.araw.models.general.ImageDetail)), com.kirkbushman.araw.models.general.ImageVariants)"></a>
<code><span class="identifier">Images</span><span class="symbol">(</span><span class="identifier">@Json</span><span class="symbol">(</span>"id"<span class="symbol">)</span> <span class="identifier" id="com.kirkbushman.araw.models.general.Images$<init>(kotlin.String, com.kirkbushman.araw.models.general.ImageDetail, kotlin.Array((com.kirkbushman.araw.models.general.ImageDetail)), com.kirkbushman.araw.models.general.ImageVariants)/id">id</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span><span class="symbol">, </span><span class="identifier">@Json</span><span class="symbol">(</span>"source"<span class="symbol">)</span> <span class="identifier" id="com.kirkbushman.araw.models.general.Images$<init>(kotlin.String, com.kirkbushman.araw.models.general.ImageDetail, kotlin.Array((com.kirkbushman.araw.models.general.ImageDetail)), com.kirkbushman.araw.models.general.ImageVariants)/source">source</span><span class="symbol">:</span>&nbsp;<a href="../-image-detail/index.html"><span class="identifier">ImageDetail</span></a><span class="symbol">, </span><span class="identifier">@Json</span><span class="symbol">(</span>"resolutions"<span class="symbol">)</span> <span class="identifier" id="com.kirkbushman.araw.models.general.Images$<init>(kotlin.String, com.kirkbushman.araw.models.general.ImageDetail, kotlin.Array((com.kirkbushman.araw.models.general.ImageDetail)), com.kirkbushman.araw.models.general.ImageVariants)/resolutions">resolutions</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html"><span class="identifier">Array</span></a><span class="symbol">&lt;</span><a href="../-image-detail/index.html"><span class="identifier">ImageDetail</span></a><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier">@Json</span><span class="symbol">(</span>"variants"<span class="symbol">)</span> <span class="identifier" id="com.kirkbushman.araw.models.general.Images$<init>(kotlin.String, com.kirkbushman.araw.models.general.ImageDetail, kotlin.Array((com.kirkbushman.araw.models.general.ImageDetail)), com.kirkbushman.araw.models.general.ImageVariants)/variants">variants</span><span class="symbol">:</span>&nbsp;<a href="../-image-variants/index.html"><span class="identifier">ImageVariants</span></a><span class="symbol">?</span><span class="symbol">)</span></code>
</BODY>
</HTML>
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
<br/>
<h1>id</h1>
<a name="com.kirkbushman.araw.models.general.Images$id"></a>
<code><span class="keyword">val </span><span class="identifier">id</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a></code>
<code><span class="keyword">val </span><span class="identifier">id</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span></code>
</BODY>
</HTML>
11 changes: 9 additions & 2 deletions docs/lib/com.kirkbushman.araw.models.general/-images/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ <h3>Constructors</h3>
<h4><a href="-init-.html">&lt;init&gt;</a></h4>
</td>
<td>
<code><span class="identifier">Images</span><span class="symbol">(</span><span class="identifier" id="com.kirkbushman.araw.models.general.Images$<init>(kotlin.String, com.kirkbushman.araw.models.general.ImageDetail, kotlin.Array((com.kirkbushman.araw.models.general.ImageDetail)))/id">id</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="com.kirkbushman.araw.models.general.Images$<init>(kotlin.String, com.kirkbushman.araw.models.general.ImageDetail, kotlin.Array((com.kirkbushman.araw.models.general.ImageDetail)))/source">source</span><span class="symbol">:</span>&nbsp;<a href="../-image-detail/index.html"><span class="identifier">ImageDetail</span></a><span class="symbol">, </span><span class="identifier" id="com.kirkbushman.araw.models.general.Images$<init>(kotlin.String, com.kirkbushman.araw.models.general.ImageDetail, kotlin.Array((com.kirkbushman.araw.models.general.ImageDetail)))/resolutions">resolutions</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html"><span class="identifier">Array</span></a><span class="symbol">&lt;</span><a href="../-image-detail/index.html"><span class="identifier">ImageDetail</span></a><span class="symbol">&gt;</span><span class="symbol">)</span></code></td>
<code><span class="identifier">Images</span><span class="symbol">(</span><span class="identifier" id="com.kirkbushman.araw.models.general.Images$<init>(kotlin.String, com.kirkbushman.araw.models.general.ImageDetail, kotlin.Array((com.kirkbushman.araw.models.general.ImageDetail)), com.kirkbushman.araw.models.general.ImageVariants)/id">id</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span><span class="symbol">, </span><span class="identifier" id="com.kirkbushman.araw.models.general.Images$<init>(kotlin.String, com.kirkbushman.araw.models.general.ImageDetail, kotlin.Array((com.kirkbushman.araw.models.general.ImageDetail)), com.kirkbushman.araw.models.general.ImageVariants)/source">source</span><span class="symbol">:</span>&nbsp;<a href="../-image-detail/index.html"><span class="identifier">ImageDetail</span></a><span class="symbol">, </span><span class="identifier" id="com.kirkbushman.araw.models.general.Images$<init>(kotlin.String, com.kirkbushman.araw.models.general.ImageDetail, kotlin.Array((com.kirkbushman.araw.models.general.ImageDetail)), com.kirkbushman.araw.models.general.ImageVariants)/resolutions">resolutions</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html"><span class="identifier">Array</span></a><span class="symbol">&lt;</span><a href="../-image-detail/index.html"><span class="identifier">ImageDetail</span></a><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.kirkbushman.araw.models.general.Images$<init>(kotlin.String, com.kirkbushman.araw.models.general.ImageDetail, kotlin.Array((com.kirkbushman.araw.models.general.ImageDetail)), com.kirkbushman.araw.models.general.ImageVariants)/variants">variants</span><span class="symbol">:</span>&nbsp;<a href="../-image-variants/index.html"><span class="identifier">ImageVariants</span></a><span class="symbol">?</span><span class="symbol">)</span></code></td>
</tr>
</tbody>
</table>
Expand All @@ -29,7 +29,7 @@ <h3>Properties</h3>
<h4><a href="id.html">id</a></h4>
</td>
<td>
<code><span class="keyword">val </span><span class="identifier">id</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a></code></td>
<code><span class="keyword">val </span><span class="identifier">id</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span></code></td>
</tr>
<tr>
<td>
Expand All @@ -45,6 +45,13 @@ <h4><a href="source.html">source</a></h4>
<td>
<code><span class="keyword">val </span><span class="identifier">source</span><span class="symbol">: </span><a href="../-image-detail/index.html"><span class="identifier">ImageDetail</span></a></code></td>
</tr>
<tr>
<td>
<h4><a href="variants.html">variants</a></h4>
</td>
<td>
<code><span class="keyword">val </span><span class="identifier">variants</span><span class="symbol">: </span><a href="../-image-variants/index.html"><span class="identifier">ImageVariants</span></a><span class="symbol">?</span></code></td>
</tr>
</tbody>
</table>
<h3>Functions</h3>
Expand Down
14 changes: 14 additions & 0 deletions docs/lib/com.kirkbushman.araw.models.general/-images/variants.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>Images.variants - lib</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">lib</a>&nbsp;/&nbsp;<a href="../index.html">com.kirkbushman.araw.models.general</a>&nbsp;/&nbsp;<a href="index.html">Images</a>&nbsp;/&nbsp;<a href="./variants.html">variants</a><br/>
<br/>
<h1>variants</h1>
<a name="com.kirkbushman.araw.models.general.Images$variants"></a>
<code><span class="keyword">val </span><span class="identifier">variants</span><span class="symbol">: </span><a href="../-image-variants/index.html"><span class="identifier">ImageVariants</span></a><span class="symbol">?</span></code>
</BODY>
</HTML>
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,13 @@ <h4><a href="source.html">source</a></h4>
<td>
<code><span class="keyword">fun </span><span class="identifier">source</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../-image-detail/index.html"><span class="identifier">ImageDetail</span></a><span class="symbol">?</span></code></td>
</tr>
<tr>
<td>
<h4><a href="variants.html">variants</a></h4>
</td>
<td>
<code><span class="keyword">fun </span><span class="identifier">variants</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../-image-variants/index.html"><span class="identifier">ImageVariants</span></a><span class="symbol">?</span></code></td>
</tr>
</tbody>
</table>
</BODY>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>SubmissionPreview.variants - lib</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">lib</a>&nbsp;/&nbsp;<a href="../index.html">com.kirkbushman.araw.models.general</a>&nbsp;/&nbsp;<a href="index.html">SubmissionPreview</a>&nbsp;/&nbsp;<a href="./variants.html">variants</a><br/>
<br/>
<h1>variants</h1>
<a name="com.kirkbushman.araw.models.general.SubmissionPreview$variants()"></a>
<code><span class="keyword">fun </span><span class="identifier">variants</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../-image-variants/index.html"><span class="identifier">ImageVariants</span></a><span class="symbol">?</span></code>
</BODY>
</HTML>
7 changes: 7 additions & 0 deletions docs/lib/com.kirkbushman.araw.models.general/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,13 @@ <h4><a href="-images/index.html">Images</a></h4>
</tr>
<tr>
<td>
<h4><a href="-image-variants/index.html">ImageVariants</a></h4>
</td>
<td>
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">ImageVariants</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="https://developer.android.com/reference/android/os/Parcelable.html"><span class="identifier">Parcelable</span></a></code></td>
</tr>
<tr>
<td>
<h4><a href="-media/index.html">Media</a></h4>
</td>
<td>
Expand Down
Loading

0 comments on commit bccb493

Please sign in to comment.