move method next to others with same name

This commit is contained in:
Eric House 2016-01-13 07:59:46 -08:00
parent 26d0aedb8f
commit 42574550d0

View file

@ -391,6 +391,15 @@ public class DwnldDelegate extends ListDelegateBase {
downloadDictInBack( context, uri, name, lstnr );
}
public static void downloadDictInBack( Context context, Uri uri,
String name,
DownloadFinishedListener lstnr )
{
Uri[] uris = new Uri[] { uri };
String[] names = new String[] { name };
downloadDictsInBack( context, uris, names, lstnr );
}
public static void downloadDictsInBack( Context context, Uri[] uris,
String[] names,
DownloadFinishedListener lstnr )
@ -406,15 +415,6 @@ public class DwnldDelegate extends ListDelegateBase {
context.startActivity( intent );
}
public static void downloadDictInBack( Context context, Uri uri,
String name,
DownloadFinishedListener lstnr )
{
Uri[] uris = new Uri[] { uri };
String[] names = new String[] { name };
downloadDictsInBack( context, uris, names, lstnr );
}
public static Intent makeAppDownloadIntent( Context context, String url )
{
Intent intent = new Intent( context, DwnldActivity.class );