mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
e887716352df8fa81cc57a4584c24d57ba50d1fd
Bitmap is put in reusable queue only if this bitmap reference counter is 0/null. This prevents an issue where one big bitmap is added to cache but it exceeds cache limit so it is removed immediately from cache (LRU internals) and marked as reusable.
ImageCahe now have counter that keeps reference how many times a bitmap have been requested/shown. (#99)
Widgets
Contains the source code of the tns-core-modules-widgets library.
This library contains native code (Java and Objective-C) used by the NativeScript core modules tns-core-modules.
How to Build
On Mac in the root folder run:
./build.sh
This will run Android and iOS build and pack dist/tns-core-modules-widgets-*.tgz.
How to Build Android
In the android folder run:
gradle build
This will output android/build/widgets-release.aar.
How to Build iOS
On Mac in the ios folder under mac run:
./build.sh
This will output ios/build/TNSWidgets.framework.
Description
⚡ Empowering JavaScript with native platform APIs. ✨ Best of all worlds (TypeScript, Swift, Objective C, Kotlin, Java, Dart). Use what you love ❤️ Angular, React, Solid, Svelte, Vue with: iOS (UIKit, SwiftUI), Android (View, Jetpack Compose), Dart (Flutter) and you name it compatible.
androidangularcapacitorcross-platformflutteriosjavajavascriptkotlinnativescriptobjective-creactsolidjssvelteswiftswiftuitypescriptvisionosvisionprovue
Readme
MIT
263 MiB
Languages
TypeScript
85.1%
Java
10.4%
Objective-C
2.3%
JavaScript
0.8%
CSS
0.7%
Other
0.6%