From 181991a85c528d4c5cec66303f677285d38d2b97 Mon Sep 17 00:00:00 2001 From: AndrewMurrell Date: Mon, 5 May 2014 16:06:02 -0400 Subject: Perhaps our problem is that the Symbol Activity didn't do what we thought it did or had some other side effects. I added a file to experiment with that and added minor changes elsewhere. --- src/us/minak/IMEView.java | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/us/minak/IMEView.java') diff --git a/src/us/minak/IMEView.java b/src/us/minak/IMEView.java index d341ae5..aefded8 100644 --- a/src/us/minak/IMEView.java +++ b/src/us/minak/IMEView.java @@ -1,12 +1,17 @@ package us.minak; +import java.util.LinkedList; +import java.util.Queue; + import android.content.Context; import android.util.AttributeSet; import android.widget.RelativeLayout; public class IMEView extends RelativeLayout{ private final Context mContext; + private final Queue mSymbolsQueue = new LinkedList(); private OnCharacterEnteredListener mOnCharacterEnteredListener; + public IMEView(Context context, AttributeSet attrs) { super(context, attrs); mContext = context; @@ -31,4 +36,9 @@ public class IMEView extends RelativeLayout{ private void enterCharacter(String character) { mOnCharacterEnteredListener.characterEntered(character); } + + public Queue getSymbolsQueue() { + return mSymbolsQueue; + } + } -- cgit v1.2.3