ChangeLog Library


Source link: https://github.com/gabrielemariotti/changeloglib

ChangeLog Library

ChangeLog Library provides an easy way to display a change log in your Android app.

Travis master: Travis dev:


Examples

If you would like, you can support my work, donating through the demo app.

For more examples and screenshots you can read this document:

Feature

ChangeLog Library provides a custom RecyclerView to display a change log through a xml file.

  • you can use it in Activities, Fragments, Dialogs
  • it works with a RecyclerView or a ListView
  • it supports html text markup as bold and italics
  • you can customize layout and behaviour
  • it supports multi language
  • it supports API 7+

Doc

See the customisation page: for more information.


Quick Start

ChangeLog Library is pushed to Maven Central as a AAR, so you just need to add the following dependency to your build.gradle.

dependencies {

  compile 'com.github.gabrielemariotti.changeloglib:changelog:2.1.0' 
}

To build the library and demo locally you can see this page for more info.

ChangeLog

Usage

Implementing this library in your own apps is pretty simple.
First, add in your layout the ChangeLogRecyclerView that displays your changelog.

<?xml version="1.0" encoding="utf-8"?> <it.gmariotti.changelibs.library.view.ChangeLogRecyclerView
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:id="@+id/view"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:layout_gravity="center" />

Then, you need a XML file with change log in res/raw folder. It automatically searches for res/raw/changelog.xml but you can customize filename.

<?xml version="1.0" encoding="utf-8"?> <changelog bulletedList="true">

<changelogversion versionName="1.0" changeDate="Aug 26,2013">

 <changelogtext>Initial release.</changelogtext>
  </changelogversion>

<changelogversion versionName="0.9" changeDate="Aug 11,2013">

<changelogtext>[b]New![/b] Add new attrs to customize header and row layout</changelogtext>

<changelogtext>Fixed log while parsing </changelogtext>

<changelogtext>Add support for html markup</changelogtext>

<changelogtext>Add bullet point in </changelogtext>

<changelogtext>Support for customized xml filename</changelogtext>
  </changelogversion>  </changelog> 

Last, if you would like a multi language changelog, you just have to put the translated files changelog.xml in the appropriate folders res/raw-xx/.

Credits

Author: Gabriele Mariotti ( [email protected])

License

Copyright 2013-2015 Gabriele Mariotti  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. 

Resources

Basic implementation of Android Recycler View purely written in Kotlin.

The ultimate developer guide to Android application linking methods.

Android library that makes it easy to create floating UI elements.

RIBs is the cross-platform architecture framework behind many mobile apps at Uber. The name RIBs is short of Router, Interactor and Builder, which are core components of this architecture. This framework is designed for mobile apps with a large number of engineers and nested states.

A collection of quickstart samples demonstrating the Firebase APIs on Android.

stringX SDK is a single integrated platform delivering automated translation of your app to over 100 languages. It works from the user perspective the same way as web pages on chrome. User can choose whether to use translated version of the app or one with default locale.

Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes