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

  • Home
  • SEARCH
  • 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 6389863
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T03:27:25+00:00 2026-05-25T03:27:25+00:00

I have two edit text control and i want to update the second edit

  • 0

I have two edit text control and i want to update the second edit text value when first edit text value is entering or vice versa. For that i used onTextChanged(..) method but the problem is while value updation(not input) time it calls onTextChanged(..) method so it gives improper result..

For example :
If i enter 20 in edittext1 and the result on edittext2 to should be 40(Some calculation ex: Edittext1 multiply by 2).

If i enter 20 in edittext2 and the result on edittext1 should be 10( Some calculation ex:Edittext2 devided by 2).

Problem is: while showing result on edittext2 its onTextChanged method is called same time it changes the edittext1’s input value…

Any Solution?

  • 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-25T03:27:26+00:00Added an answer on May 25, 2026 at 3:27 am

    I think you can use it by TextChangedListener and maintain two flags be it boolean or int and change the value of each flag accordingly may solve your Problem….

    Best Of Luck

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have used Custom List View inside that one Text View and two Edit
On a windows mobile device I have a mutliline text edit control that is
If two users edit the same wiki topic, what methods have been used in
I have a view and it's composed of two tables. I want to edit
I have two videos, and I want to loop the first video until the
This is my code. So when button is clicked, I have two edit text
I've been thinking about writing a text editor control that can edit text that
this is a two part question that probbably have a similar answer. I want
i have two edit text one edit text input should accept number only so
I have two activities my first class is: DfbActivity.java and my second class is:

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.