All Projects → VRGsoftUA → Timeline-View

VRGsoftUA / Timeline-View

Licence: other
Open source android library

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Timeline-View

Sifrr
⚡️ Set of tiny, independent libraries for creating modern and fast webapps with javascript/typescript
Stars: ✭ 174 (+544.44%)
Mutual labels:  libraries
Archivesspace
The ArchivesSpace archives management tool
Stars: ✭ 230 (+751.85%)
Mutual labels:  libraries
CoolProgressViews
Android library with collection of cool progress views.
Stars: ✭ 83 (+207.41%)
Mutual labels:  libraries
Symbol Swapper
Swap the selected symbols and/or symbol instances to a master of the same name in a library.
Stars: ✭ 179 (+562.96%)
Mutual labels:  libraries
Awesome Haxe Gamedev
Resources for game development on haxe
Stars: ✭ 213 (+688.89%)
Mutual labels:  libraries
Api
Promise and RxJS APIs around Polkadot and any Substrate-based chain RPC calls. It is dynamically generated based on what the Substrate runtime provides in terms of metadata. Full documentation & examples available
Stars: ✭ 232 (+759.26%)
Mutual labels:  libraries
Djangorestframework Queryfields
Allows clients to control which fields will be sent in the API response
Stars: ✭ 170 (+529.63%)
Mutual labels:  libraries
ConflictJS
Finding and Understanding Conflicts Between JavaScript Libraries
Stars: ✭ 39 (+44.44%)
Mutual labels:  libraries
Rust Web Framework Comparison
A comparison of some web frameworks and libs written in Rust
Stars: ✭ 2,852 (+10462.96%)
Mutual labels:  libraries
awesome-libraries
😎 Libraries that are being shown in Sourcerer profiles.
Stars: ✭ 131 (+385.19%)
Mutual labels:  libraries
Spellbook Of Modern Webdev
A Big Picture, Thesaurus, and Taxonomy of Modern JavaScript Web Development
Stars: ✭ 13,450 (+49714.81%)
Mutual labels:  libraries
Unbescape
Advanced yet easy to use escaping library for Java
Stars: ✭ 207 (+666.67%)
Mutual labels:  libraries
Sensey
⚡ [Android Library] Play with sensor events & detect gestures in a breeze.
Stars: ✭ 2,621 (+9607.41%)
Mutual labels:  libraries
Awesome Scala Native
Compilation of Scala Native resources and libraries
Stars: ✭ 175 (+548.15%)
Mutual labels:  libraries
HackTheStacks
The 3rd Annual American Museum of Natural History Hackathon produced by the BridgeUP: STEM program
Stars: ✭ 32 (+18.52%)
Mutual labels:  libraries
Jitpack.io
Documentation and issues of https://jitpack.io
Stars: ✭ 2,156 (+7885.19%)
Mutual labels:  libraries
Indicnlp catalog
A collaborative catalog of resources for Indian language NLP
Stars: ✭ 230 (+751.85%)
Mutual labels:  libraries
CircularDialogs
Android dialog library to give user feedback about the common operations like Success, Warning and Errors.
Stars: ✭ 35 (+29.63%)
Mutual labels:  libraries
Google-Apps-Script-Library-Database
This is for the Google Apps Script Library Database and a web application for searching the libraries..
Stars: ✭ 51 (+88.89%)
Mutual labels:  libraries
Aboutlibraries
AboutLibraries automatically detects all dependencies of a project and collects their information including the license. Optionally visualising it via the provided ui components.
Stars: ✭ 2,777 (+10185.19%)
Mutual labels:  libraries

Timeline View

alt text

HIRE US

Usage

For a working implementation, Have a look at the Sample Project - app

  1. Include the library as local library project.
allprojects {
    repositories {
        maven { url 'https://jitpack.io' }
    }
}

dependencies {

compile 'com.github.VRGsoftUA:Timeline-View:1.0.0'

}
  1. Include the YearLayout widget in your layout.

      <com.vrgsoft.yearview.YearLayout
        android:id="@+id/year_layout"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="@android:color/transparent"
        android:scrollbarStyle="insideOverlay"
        android:scrollbars="horizontal"
        app:description_text_size="8sp"
        app:row_text_size="14sp"
        app:year_text_size="9sp"
        />

3 You need to implement YearModel interface in your model

  class SomeModel:YearModel
  1. In your onCreate method refer to the View and setup YearLayout.Builder.Also you can implement OnRowClickListener for handling clicks
        YearLayout.Builder builder = new YearLayout.Builder();
        builder.setYears(mModels)
                .setMaxYear(2017)
                .setMinYear(1860)
                .attachToActivity(this)
                .setOnRowClick(this)
                .setYearBackgroundColor(R.color.line_color)
                .setYearTitleColor(R.color.colorPrimary)
                .setYearRowTextColor(R.color.colorPrimaryDark)
                .create();
        mYearLayout.setBuilder(builder);
    }
    
    @Override
    public void onClick(int year, ClickView.ItemHolder view) {
        Toast.makeText(this, "Clicked on year " + year, Toast.LENGTH_SHORT).show();
    }

    Customisation

    You can add fields via xml or via Builder. Supported fields:
       <attr name="year_text_size" format="dimension"/>
       <attr name="row_text_size" format="dimension"/>
       <attr name="description_text_size" format="dimension"/>
       <attr name="year_background_color" format="color"/>
       <attr name="year_title_color" format="color"/>
       <attr name="year_row_text_color" format="color"/>
       <attr name="min_year" format="integer"/>
       <attr name="max_year" format="integer"/>

    Contributing

  • Contributions are always welcome
  • If you want a feature and can code, feel free to fork and add the change yourself and make a pull request
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].