Closed GoogleCodeExporter closed 9 years ago
Fixed. (seemingly)
controls/SmsPopupSwipeView.java:58 [addMessages]
change
public void addMessages(ArrayList<SmsMmsMessage> newMessages) {
if (newMessages != null) {
for (int i=0; i<newMessages.size(); i++) {
addView(new SmsPopupView(context, newMessages.get(i)));
}
messages.addAll(newMessages);
UpdateMessageCount();
}
}
to
public void addMessages(ArrayList<SmsMmsMessage> newMessages) {
if (newMessages != null) {
for (int i=0; i<newMessages.size(); i++) {
// If our list of messages contains this message, skip adding it
if (!messages.contains(newMessages.get(i))) {
// addView(new SmsPopupView(context, newMessages.get(i)));
// messages.add(newMessages.get(i));
// we already have a function to do this...
addMessage(newMessages.get(i));
}
else {
Log.v("Trying to add a message already in messages...");
}
}
// messages.addAll(newMessages);
// UpdateMessageCount();
}
}
I have yet to see the issue arise again after this change.
Just a tip.
Original comment by mikewads...@gmail.com
on 27 Jul 2011 at 8:44
A fully revamped version of SMS Popup is now available in the Google Play
Store:
https://play.google.com/store/apps/details?id=net.everythingandroid.smspopup
I am closing out all old issues/bugs that relate to SMS Popup <=1.10 as so much
was changed in this version. Please create new issues if you see them in the
latest update.
Original comment by adam.eve...@gmail.com
on 14 Apr 2012 at 7:37
Original issue reported on code.google.com by
mikewads...@gmail.com
on 24 Jun 2011 at 3:41