Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6187099
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T02:00:08+00:00 2026-05-24T02:00:08+00:00

I have an app I’m trying to translate which uses tkinter and python, but

  • 0

I have an app I’m trying to translate which uses tkinter and python, but I’m not comfortable with Java. I already have the UI but it’s the coding part in Java I’m having trouble with.
The thing I want is a
“input triggered by change > processing > insert processed data into other EditText”
I know about the addTextChangedListener and TextWatcher, but the problem is that I can’t code Java and won’t inserting create a infinite loop, for example if I get input from 1 then it get’s processed and inserted in another, then won’t it start the same process thus creating a infinite loop?

Please help!

Thank you!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T02:00:09+00:00Added an answer on May 24, 2026 at 2:00 am

    If your concern is an infinite loop, then use onKeyPressed() instead of onTextChanged():

    text.setOnKeyListener(new EditText.OnKeyListener()
    {
        public boolean onKey(View v, int keyCode, KeyEvent event)
        {
            // Put your code here
            return false;
        }
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an app that is already existing on the app store ,But now
If I have app which is already on App Store is it allowed to
I have app engine app that uses a java servlet to save a message
for example: I have app A, which references library A and library B. in
have an app that finds your GPS location successfully, but I need to be
I have an app with a large ListView which is terribly slow so I'm
I have an app which could benefit from the user being able to choose
I have app with two sites, one where design is done and other which
I have app which retrieve applications from registry. In 32bits Windows it works correctly.
I have an app running on my production server that uses the pg gem

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.