TaggerString alternatives and similar packages
Based on the "Tools" category.
Alternatively, view TaggerString alternatives based on common mentions on social networks and blogs.
-
vectalign
Tool for create complex morphing animations using VectorDrawables (allows morphing between any pair of SVG images) -
maven-android-sdk-deployer
A tool to install components of the Android SDK into a Maven repository or repository manager to use with the Android Maven Plugin, Gradle and other tools. -
Uber Apk Signer
A cli tool that helps signing and zip aligning single or multiple Android application packages (APKs) with either debug or provided release certificates. It supports v1, v2 and v3 Android signing scheme has an embedded debug keystore and auto verifies after signing. -
android-resource-remover
A simple utility to remove unused resources in your Android app to lower the size of the APK. It's based on the Android lint tool output. -
AndroidLocalizationer
DISCONTINUED. This is a Android Studio/ IntelliJ IDEA plugin to localize your Android app, translate your string resources automactically. -
Debug Bottle
🍼Debug Bottle is an Android runtime debug / develop tools written using kotlin language. -
density-converter
A multi platform image density converting tool converting single or batches of images to Android, iOS, Windows or CSS specific formats and density versions given the source scale factor or width/height in dp. It has a graphical and command line interface and supports many image types (svg, psd, 9-patch, etc.) aswell as some lossless compressors like pngcrush. -
USB-Device-Info
This application will provide information about almost all currently plugged-in USB devices. -
release-android-library
Remote script to create a maven compatible release of an android library (aar) -
Uber Adb Tools for Android
A tool that enables advanced features through adb installing and uninstalling apps like wildcards and multi device support. Useful if you want to clean your test device from all company apks or install a lot of apks in one go. Written in Java so it should run on your platform. -
Android-Intent-Library
A library which will save you a lot of time from writing the same intent creation code. it consist of many intent creation codes like Share, Contacts, Email and etc, which you can easily use.
CodeRabbit: AI Code Reviews for Developers
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of TaggerString or a related project?
README
TaggerString
TaggerString is very light library which allows to build dynamic string resource in much more readable way.
I guess that every Android developer has seen or added similar piece of code in string.xml file:
<string name="user_description_string">I am %s and I am %d years old</string>`
Some probably discovered that above code is a little bit not readable and extended such declarations to something like this:
<string name="user_description_string">I am $1%s and I am $2%d years old</string>
And in source code:
String userDesc = String.format(resources.getString(R.string.user_description_string), "John Kowalski", 27);
So far so good but maybe this could be a little bit more readable ? Yes, it can be (at least in my opinion) - TaggerString.
In source code above example will look like :
TaggerString taggerString = TaggerString.from(getString(R.string.user_description_string));
taggerString.with("user_name", "John Kowalski");
taggerString.with("user_age", 27);
tvExampleOne.setText(taggerString.format());
And our string resource looks
<string name="example_one">My name is {user_name} and I am a {developer_role}</string>
If you want to use bold (TaggerStyleType.BOLD), italic (TaggerStyleType.ITALIC) or underscore (TaggerStyleType.UNDERLINE), please go ahead:
TaggerString taggerString = TaggerString.from(getString(R.string.user_description_string));
taggerString.with("user_name", "John Kowalski", TaggerStyleType.BOLD);
taggerString.with("user_age", 27, TaggerStyleType.UNDERLINE);
tvExampleOne.setText(taggerString.formatCustom());
Please note that in this case method formatCustom() returns Spanned object.
Multiple formatting (since version 1.1.0)
If you want to apply few tags for one string go ahead and do it:
taggerString.with("developer_role", "Android Software Developer", TaggerStyleType.UNDERLINE, TaggerStyleType.BOLD, TaggerStyleType.ITALIC);
Usage
If you are using gradle please add below:
dependencies {
compile 'com.github.polok.taggerstring:library:1.0.0'
}
Since version 1.1.0 the artefactId was changed from library to taggerstring:
dependencies {
compile 'com.github.polok.taggerstring:taggerstring:1.1.0'
}
Developed By
Marcin Polak - mpolak87(at).gmail.com
License
Copyright 2015 Marcin Polak
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*Note that all licence references and agreements mentioned in the TaggerString README section above
are relevant to that project's source code only.