<div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="mRequestOptions = new RequestOptions();
mRequestOptions.transform(new RoundedCorners(8));

Glide.with(mContext).load(url).apply(mRequestOptions).into(iv);"><pre class="notranslate"><span class="pl-s1">mRequestOptions</span> = <span class="pl-k">new</span> <span class="pl-smi">RequestOptions</span>();
<span class="pl-s1">mRequestOptions</span>.<span class="pl-en">transform</span>(<span class="pl-k">new</span> <span class="pl-smi">RoundedCorners</span>(<span class="pl-c1">8</span>));

<span class="pl-smi">Glide</span>.<span class="pl-en">with</span>(<span class="pl-s1">mContext</span>).<span class="pl-en">load</span>(<span class="pl-s1">url</span>).<span class="pl-en">apply</span>(<span class="pl-s1">mRequestOptions</span>).<span class="pl-en">into</span>(<span class="pl-s1">iv</span>);</pre></div>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/4987178/34662666-246c2304-f48d-11e7-802e-d8c73dee129d.png"><img width="100" alt="123" src="https://user-images.githubusercontent.com/4987178/34662666-246c2304-f48d-11e7-802e-d8c73dee129d.png" style="max-width: 100%;"></a></p>
<p dir="auto">In library module I need to use glide loading with generated API customization.</p>
<p dir="auto">Using AppGlideModule class runs to Duplicate entry ZipException in main app, LIbraryGlideModule not generate any class to use Glide loading in library module.</p>
<p dir="auto">How can I use Glide customized loading in my android library module?</p>