Comments (6)
Hi:
I don't see the benefit of using mipmap on this image if you don't use it on animations or anything like that. And if you do, you are already using your own custom activity, so you can use a mipmap there if you wish... Or maybe I'm wrong and there is benefit on using mipmaps other than for animations (or launcher icons)?
Can you elaborate?
Thanks!
from customactivityoncrash.
@Ereza Before all, What do you think about using that implementation only with code? The override of resource can be a little bit confuse to some developers.
from customactivityoncrash.
@ppamorim You mean specifying the drawable with something like: CustomActivityOnCrash.setDefaultErrorActivityDrawable(R.drawable.my_image)
?
I guess it's feasible, but I don't see how overriding a drawable is more confusing than overriding strings...
from customactivityoncrash.
@Ereza Yes, but you can maintain this override of the drawable with strings and implements the method way too.
from customactivityoncrash.
You're right, I'll do that.
from customactivityoncrash.
Hi, this has been implemented in the 1.4.0 release. A new method CustomActivityOnCrash.setDefaultErrorActivityDrawable(int);
is available, and you can pass in a drawable or mipmap id.
Thanks for your suggestion!
from customactivityoncrash.
Related Issues (20)
- how to define errorDrawable size? HOT 1
- Debug not stoping on breaking point inside custom error activity HOT 1
- how to solve unfortunately myapp has stopped? HOT 1
- Unable to get provider cat.ereza.customactivityoncrash.provider.CaocInitProvider(solved) HOT 1
- Library hangs completely if the app defines a EventListener and some of its methods crash HOT 1
- OutOfMemoryError: pthread_create HOT 2
- Crash on Android 4.1.2 and 4.4
- incompatible with wrapper shell script HOT 2
- Not working with firebase Crashlytics HOT 3
- Plagiarism of your library HOT 1
- Is it possible to show a fragment instead of activity for crashes? HOT 1
- may provide a callback with the Throwable object
- Not works with FirebaseFirestore HOT 3
- errorActivity will not launch when I do something in eventListener->onLaunchErrorActivity HOT 2
- Deleted everthing on my phone HOT 2
- Is this testable? HOT 1
- Wrong build date info HOT 2
- NoWork at remi note 10x HOT 1
- call api before crash HOT 1
- crash from webrtc framework HOT 1
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 customactivityoncrash.