aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/github/daneren2005/dsub/view/UpdateView.java16
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) {