All Projects → fython → Breadcrumbsview

fython / Breadcrumbsview

Licence: mit
Material Design Breadcrumbs Navigation Widget on Android

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Breadcrumbsview

Material Design Avatars
Create material deisgn avatars for users just like Google Messager. It may not be unique but looks better than Identicon or Gravatar.
Stars: ✭ 266 (-10.14%)
Mutual labels:  material-design
Waterfall Toolbar
Stars: ✭ 282 (-4.73%)
Mutual labels:  material-design
Materia Theme
A Material Design theme for GNOME/GTK based desktop environments
Stars: ✭ 3,177 (+973.31%)
Mutual labels:  material-design
Githubfollows
A demo project based on MVVM architecture and material design & animations.
Stars: ✭ 272 (-8.11%)
Mutual labels:  material-design
Material Motion Js
Reusable gestural interactions in JavaScript. In development.
Stars: ✭ 277 (-6.42%)
Mutual labels:  material-design
Ng Notadd
In-middle background front-end solution based on angular material 基于Angular Material的中后台前端解决方案
Stars: ✭ 287 (-3.04%)
Mutual labels:  material-design
Sequent
A simple continuous animation library for Android UI.
Stars: ✭ 263 (-11.15%)
Mutual labels:  material-design
Crazydaily
[开源项目] 一款程序员日常放松的App,基于Material Design + MVP-Clean + Weex + Flutter + RxJava2 + Retrofit + Dagger2 + Glide + Okhttp + MTRVA + BRVAH + 炫酷控件 + 炫酷动画
Stars: ✭ 294 (-0.68%)
Mutual labels:  material-design
Nativescript Cardview
♦️ ♣️ NativeScript widget for Material Design CardView
Stars: ✭ 279 (-5.74%)
Mutual labels:  material-design
Googlekeepclone
A clone of Google Keep with its original Material Design aesthetics
Stars: ✭ 281 (-5.07%)
Mutual labels:  material-design
Laravel Angular Cms
CMS built on Laravel, AngularJS and Material Design
Stars: ✭ 272 (-8.11%)
Mutual labels:  material-design
Rubik
Material Design 风格的 Vue.js UI 组件库
Stars: ✭ 277 (-6.42%)
Mutual labels:  material-design
Framework7
Full featured HTML framework for building iOS & Android apps
Stars: ✭ 16,560 (+5494.59%)
Mutual labels:  material-design
Carbon
Material Design implementation for Android 4.0+. Shadows, ripples, vectors, fonts, animations, widgets, rounded corners and more.
Stars: ✭ 2,942 (+893.92%)
Mutual labels:  material-design
Color Studio
It is too hard to build coherent and accessible themes with the right colors. This should help.
Stars: ✭ 289 (-2.36%)
Mutual labels:  material-design
Laravel Material Design
Laravel 5.6 on Material Design Lite 1.3 with user authentication, registration with email confirmation, social media authentication, password recovery, and captcha protection. This makes full use of Controllers for the routes, templates for the views, and makes use of middleware for routing. Uses laravel ORM modeling and has CRUD (Create Read Update Delete) functionality for all tasks. Quick setup, can be done in 5 minutes. It will take longer to obtain your Facebook, Twitter, and Google Plus API Keys than it will to set this up.
Stars: ✭ 263 (-11.15%)
Mutual labels:  material-design
Progressstatusbar
Another way to show progress. A progress View over the system StatusBar.
Stars: ✭ 283 (-4.39%)
Mutual labels:  material-design
Primedatepicker
PrimeDatePicker is a tool that provides picking a single day, multiple days, and a range of days.
Stars: ✭ 292 (-1.35%)
Mutual labels:  material-design
Popular Movies App
A simple Android app, that helps user to discover movies. Project 1 & 2 of Udacity Android Developer Nanodegree.
Stars: ✭ 293 (-1.01%)
Mutual labels:  material-design
Material Bread
Cross Platform React Native Material Design Components
Stars: ✭ 287 (-3.04%)
Mutual labels:  material-design

BreadcrumbsView

中文说明

Material Design Breadcrumbs Navigation Widget on Android (SDK 19+, Maybe can be lower)

How to use

Import (Gradle)

First, add it in your root build.gradle at the end of repositories:

allprojects {
	repositories {
		...
		maven { url 'https://jitpack.io' }
	}
}

Add the dependency to your app modules:

dependencies {
    compile 'moe.feng:BreadcrumbsView:latest-version'
}

XML

Place a BreadcrumbsView to where you want in your layout xml.

For example:

<android.support.design.widget.AppBarLayout...>

	<android.support.v7.widget.Toolbar.../>

	<moe.feng.common.view.breadcrumbs.BreadcrumbsView
		android:id="@+id/breadcrumbs_view"
		android:layout_width="match_parent"
		android:layout_height="?attr/actionBarSize"
		app:popupTheme="@style/AppTheme.PopupOverlay"/>

</android.support.design.widget.AppBarLayout>

Add/Remove BreadcrumbItem

When your interface navigates to next step, create a new BreadcrumbItem and add it to BreadcrumbsView. (After 0.2.0, you can implement your own IBreadcrumbItem to use.)

Use removeItemAfter(int) or removeLastItem to remove items or last item.

Listen events

You can set a callback for BreadcrumbsView to receive item click/changed events.

To simplify events, I recommend to use DefaultBreadcrumbsCallback :

new DefaultBreadcrumbsCallback<BreadcrumbItem>() {
	@Override
	public void onNavigateBack(BreadcrumbItem item, int position) {
		// ...
	}

	@Override
	public void onNavigateNewLocation(BreadcrumbItem newItem, int changedPosition) {
		// ...
	}
}

License

MIT License

Copyright (c) 2017-2018 Fung Go (fython)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
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].