diff options
author | Scott Jackson <daneren2005@gmail.com> | 2013-08-29 05:29:20 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2013-08-29 05:29:20 -0700 |
commit | e9f2c62f642bcf4f562048fc1a7872a130cae76a (patch) | |
tree | 5c3c514a15d8bd7fd1abf28b7770d253c1ae0a32 /src | |
parent | 9e1706fc4e67eca6ba69c1a62f8c0f6fc6a76eba (diff) | |
parent | aa548fcd3a40a5c9cd38da86fb289b98f1977a6d (diff) | |
download | dsub-e9f2c62f642bcf4f562048fc1a7872a130cae76a.tar.gz dsub-e9f2c62f642bcf4f562048fc1a7872a130cae76a.tar.bz2 dsub-e9f2c62f642bcf4f562048fc1a7872a130cae76a.zip |
Merge branch 'master' into SyncAdapter
Diffstat (limited to 'src')
-rw-r--r-- | src/github/daneren2005/dsub/view/UpdateView.java | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/src/github/daneren2005/dsub/view/UpdateView.java b/src/github/daneren2005/dsub/view/UpdateView.java index c73ba72c..48d9cf94 100644 --- a/src/github/daneren2005/dsub/view/UpdateView.java +++ b/src/github/daneren2005/dsub/view/UpdateView.java @@ -47,7 +47,7 @@ public class UpdateView extends LinearLayout { protected boolean exists = false;
protected boolean shaded = false;
- protected boolean starred = true;
+ protected boolean starred = false;
protected boolean isStarred = false;
public UpdateView(Context context) {
@@ -73,8 +73,18 @@ public class UpdateView extends LinearLayout { }
public void setObject(Object obj1, Object obj2) {
setObjectImpl(obj1, obj2);
- updateBackground();
- update();
+ backgroundHandler.post(new Runnable() {
+ @Override
+ public void run() {
+ updateBackground();
+ uiHandler.post(new Runnable() {
+ @Override
+ public void run() {
+ update();
+ }
+ });
+ }
+ });
}
protected void setObjectImpl(Object obj) {
|