Comments (4)
@pankajbatra Is it possible to provide a test case that reproduces the issue?
from android-ago.
We are using textview on ItemViewHolder to show live orders.
There are 2 states of order dispatched and delivered.
As soon as an order is marked as delivered it moves from dispatched to delivered fragment.
Issue may be that RelativeTimeTextView thread tries to update time on a textview which does not exists anymore.
from android-ago.
@pankajbatra Thanks for the explanation. However, I don't think that what you are suspecting is causing the issue. Here are a few things that come to mind.
- Looking at the stack trace, in particular this line:
android.widget.TextView.sendAfterTextChanged (TextView.java:7119)
If I remember correctly, this implies that you have a TextWatcher
set on the TextView
. Can you confirm if this is the case? RelativeTimeTextView
was not originally meant to be an Editable
so this might cause issues.
- The other angle to debug is to replace your
RelativeTimeTextView
s with regularTextView
s and see if the issue still occurs.
from android-ago.
Yes, we have TextWatcher set on Textview.
As of now, I have replaced it with regular TextView and using android util method to show relative time.
from android-ago.
Related Issues (20)
- Time ago calculation HOT 13
- Strings in Portuguese
- in 0 mins HOT 14
- Now LATEST_VERSION is what ? HOT 2
- Lack of consistent capitalization (English) HOT 3
- A String Completed added prior to time HOT 3
- Once the `UpdateTimeRunnable` is detached and the `weakRefRttv` cleared, it is never attached again HOT 4
- Add automated tests HOT 4
- Change lang of "hours ago" ... HOT 1
- Locale HOT 1
- Time is one hour behind on old Galaxy Tab 3 using Android 4.4.2 HOT 3
- add font family option HOT 6
- this work fine in recyclerviews? HOT 1
- Removing the "ago" word HOT 6
- Save timeago when close the app HOT 1
- Add a `getReferenceTime()` method
- Modify time update interval HOT 1
- Text format has extra charcters in it HOT 2
- Enhancement - short suffix HOT 1
- In new update, issue with Just Now
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-ago.