-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More type safe background task parameters #85
- Loading branch information
1 parent
65a4f02
commit e584f46
Showing
9 changed files
with
83 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
src/se/devscout/android/util/concurrency/DisplayImageTaskParam.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
package se.devscout.android.util.concurrency; | ||
|
||
import android.widget.ImageView; | ||
|
||
import java.net.URI; | ||
|
||
public class DisplayImageTaskParam { | ||
private URI[] mURIs; | ||
private int mMaxFileSize; | ||
private ImageView mImageView; | ||
|
||
public DisplayImageTaskParam(ImageView imageView, int maxFileSize, URI[] URIs) { | ||
mImageView = imageView; | ||
mMaxFileSize = maxFileSize; | ||
mURIs = URIs; | ||
} | ||
|
||
public URI[] getURIs() { | ||
return mURIs; | ||
} | ||
|
||
public void setURIs(URI[] URIs) { | ||
mURIs = URIs; | ||
} | ||
|
||
public int getMaxFileSize() { | ||
return mMaxFileSize; | ||
} | ||
|
||
public void setMaxFileSize(int maxFileSize) { | ||
mMaxFileSize = maxFileSize; | ||
} | ||
|
||
public ImageView getImageView() { | ||
return mImageView; | ||
} | ||
|
||
public void setImageView(ImageView imageView) { | ||
mImageView = imageView; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 6 additions & 3 deletions
9
src/se/devscout/android/util/concurrency/ReadActivitiesTaskExecutor.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 2 additions & 3 deletions
5
src/se/devscout/android/util/concurrency/SetFavouritesTaskExecutor.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters