Comments (9)
I have never done this before. Any suggestions or tutorials that you recommend for how to do this?
from textjustify-android.
I second the motion, and hope I can give a bit of help.
First things first, you would need to refactor out the bits specific to DocumentView into their own project and repository.
Secondly, there are instructions over here on how to upload the artifact to Bintray, which isn't Maven Central, but will likely be far easier to manage.
I'm very interested in using DocumentView, would be happy to help if there's something I can do.
from textjustify-android.
@DjBushido What about test cases? Can they be kept along with the package?
from textjustify-android.
@bluejamesbond Depends. The android test cases would have to reside alongside the Android project of course, but the DocumentView-specific tests can (and should) be moved to the new project. Publishing will release only the actual source code, and will not put the testing code in production.
from textjustify-android.
@DjBushido Oh I see! And what about the gradle stuff?
from textjustify-android.
@bluejamesbond Not sure what you mean. Gradle will still manage building the project, and will also handle releasing the artifact as a Maven dependency into Bintray/JCenter (though I expect you'll need a plugin like this). You'll need a separate build.gradle for the DocumentView itself, but the idea is to factor out the standalone bits so everyone can re-use it.
from textjustify-android.
@DjBushido Thanks
from textjustify-android.
Done.
compile 'com.github.bluejamesbond:textjustify-android:2.0.1'
from textjustify-android.
Awesome, thanks for this! So excited to start using it.
from textjustify-android.
Related Issues (20)
- How to set RTL for Arabic Text
- Extra space in AlertDialog
- max line limit HOT 1
- com.bluejamesbond.text.StringDocumentLayout$PlainDocumentException: Cannot fit word(s) into one line. Font size too large? HOT 2
- is Html text Support ?
- bug java.lang.IllegalArgumentException:
- How to change the text size? HOT 3
- java.lang.IndexOutOfBoundsException HOT 2
- Crash on Android 7.X
- DocumentViews in LinearLayout and EventListeners
- Background Color does not change with Spannables, please help.
- DocumentView has a problem with ExpandableListView
- RTL supprot for documentView_textFormat="plain"
- Broken on API 21 when change portrait to landscape positions
- Hyphenate license
- Image Span test does not work
- Report crash .onMeasure
- How to use android:ellipsize="end" attributes????
- bug: java.lang.IllegalArgumentException: width and height must be > 0
- onClick in Clickablespan is not work 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 textjustify-android.