Beispiel #1
0
//JAVA TO C# CONVERTER WARNING: 'final' parameters are not available in .NET:
//ORIGINAL LINE: private void updateTextView(final String str)
        private void updateTextView(string str)
        {
            mHandler.post(() =>
            {
                ConsumerActivity.updateTextView2(str);
            });
        }
Beispiel #2
0
//JAVA TO C# CONVERTER WARNING: 'final' parameters are not available in .NET:
//ORIGINAL LINE: private void addMessage(final String prefix, final String data)
        private void addMessage(string prefix, string data)
        {
//JAVA TO C# CONVERTER WARNING: The original Java variable was marked 'final':
//ORIGINAL LINE: final String strToUI = prefix.concat(data);
            string strToUI = prefix + data;

            mHandler.post(() =>
            {
                ConsumerActivity.addMessage2(strToUI);
            });
        }
 public OnClickListenerAnonymousInnerClassHelper(ConsumerActivity outerInstance)
 {
     this.outerInstance = outerInstance;
 }
 public MessageAdapter2(ConsumerActivity outerInstance)
 {
     this.outerInstance = outerInstance;
     mMessages          = Collections.synchronizedList(new List <Message>());
 }
			public OnClickListenerAnonymousInnerClassHelper(ConsumerActivity outerInstance)
			{
				this.outerInstance = outerInstance;
			}
			public MessageAdapter2(ConsumerActivity outerInstance)
			{
				this.outerInstance = outerInstance;
				mMessages = Collections.synchronizedList(new List<Message>());
			}