mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-09 05:24:44 +01:00
move method next to others with same name
This commit is contained in:
parent
26d0aedb8f
commit
42574550d0
1 changed files with 9 additions and 9 deletions
|
@ -391,6 +391,15 @@ public class DwnldDelegate extends ListDelegateBase {
|
||||||
downloadDictInBack( context, uri, name, lstnr );
|
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,
|
public static void downloadDictsInBack( Context context, Uri[] uris,
|
||||||
String[] names,
|
String[] names,
|
||||||
DownloadFinishedListener lstnr )
|
DownloadFinishedListener lstnr )
|
||||||
|
@ -406,15 +415,6 @@ public class DwnldDelegate extends ListDelegateBase {
|
||||||
context.startActivity( intent );
|
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 )
|
public static Intent makeAppDownloadIntent( Context context, String url )
|
||||||
{
|
{
|
||||||
Intent intent = new Intent( context, DwnldActivity.class );
|
Intent intent = new Intent( context, DwnldActivity.class );
|
||||||
|
|
Loading…
Reference in a new issue