cravefood / calculator-android Goto Github PK
View Code? Open in Web Editor NEWcrave-calculator-android
License: MIT License
crave-calculator-android
License: MIT License
Change the name of resources like icons and strings.
Because if one project is using the fragment and that project have resource with the same id
it will override them
After active the horizontal scroll it always shows the begin and hide the current operation
1 - tap a long number until active the horizontal scroll
2 - Clear the calc
3 - Tap any number
Describe the bug
The library reasources are being overriden from outside, because it's using common names.
Expected behavior
The library resources should have unique names as to prevent collisions.
Additional context
Here is the documentation info:
As you develop your library modules and dependent apps, be aware of the following behaviors and limitations.
[...]
Resource merge conflicts
The build tools merge resources from a library module with those of a dependent app module. If a given resource ID is defined in both modules, the resource from the app is used.
If conflicts occur between multiple AAR libraries, then the resource from the library listed first in the dependencies list (toward the top of the dependencies block) is used.
To avoid resource conflicts for common resource IDs, consider using a prefix or other consistent naming scheme that is unique to the module (or is unique across all project modules).
[...]
Implement the listeners on buttons and the calc logic using the library https://lallafa.objecthunter.net/exp4j/
The calculator need behavior like the default calculator from Android by Google
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.