DroidBallet Parent

Motion based interaction and UI navigation for Android.

Лицензия

Лицензия

Группа

Группа

com.lonepulse
Идентификатор

Идентификатор

droidballet-parent
Последняя версия

Последняя версия

0.1.0
Дата

Дата

Тип

Тип

pom
Описание

Описание

DroidBallet Parent
Motion based interaction and UI navigation for Android.
Система контроля версий

Система контроля версий

https://github.com/sahan/DroidBallet

Скачать droidballet-parent

Имя Файла Размер
droidballet-parent-0.1.0.pom 4 KB
Обзор

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.lonepulse/droidballet-parent/ -->
<dependency>
    <groupId>com.lonepulse</groupId>
    <artifactId>droidballet-parent</artifactId>
    <version>0.1.0</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/com.lonepulse/droidballet-parent/
implementation 'com.lonepulse:droidballet-parent:0.1.0'
// https://jarcasting.com/artifacts/com.lonepulse/droidballet-parent/
implementation ("com.lonepulse:droidballet-parent:0.1.0")
'com.lonepulse:droidballet-parent:pom:0.1.0'
<dependency org="com.lonepulse" name="droidballet-parent" rev="0.1.0">
  <artifact name="droidballet-parent" type="pom" />
</dependency>
@Grapes(
@Grab(group='com.lonepulse', module='droidballet-parent', version='0.1.0')
)
libraryDependencies += "com.lonepulse" % "droidballet-parent" % "0.1.0"
[com.lonepulse/droidballet-parent "0.1.0"]

Зависимости

provided (1)

Идентификатор библиотеки Тип Версия
com.google.android : android jar 4.0.1.2

Модули Проекта

  • droidballet

DroidBallet

DroidBallet /'drȯid'ba'lā/ noun. 1 Motion based interaction and UI navigation.


##About

DroidBallet is an effort to supplement the user experience on Android by incorporating motion based interaction and UI navigation.

This library is currently in a PRE-ALPHA stage with on-going tweaks to certain equations and experimentation with various widgets.

##Setup

1. For Maven Based Android Projects

Add the following dependency in your project's pom.xml.

<dependency>
   <groupId>com.lonepulse</groupId>
   <artifactId>droidballet</artifactId>
   <version>0.1.0</version>
   <type>apklib</type>
</dependency>

For information on building Android projects using Maven here's Chapter 14 of Maven: The Complete Reference.

2. For Standard Android Projects

Clone the repository and import it as an existing project in Eclipse.

$ git clone git://github.com/sahan/DroidBallet.git

Since the Eclipse metadata is maintained in the repository, the project should be immediately available as an Android library which you can reference in your own project. Refer the developer guide for information on referencing library projects.


##Usage

The current motion widgets arsenal consists of a single component named LinearMotionListView. Use this on a portrait activity using the steps outlined below.

  1. Configure AndroidManifest.xml to use DroidBallet's application instance.
<application 
	android:name="com.lonepulse.droidballet.app.MotionApplication"

  1. Declare the LinearMotionListView in your layout.
<com.lonepulse.droidballet.widget.LinearMotionListView
	android:id="@android:id/list"
    android:layout_width="match_parent"
    android:layout_height="match_parent" />

Else you could instantiate LinearMotionListView within your activity and set it as the content view.


3) Override `onResume()` and `onPause()` to activate and deactivate the motion widgets in the smallest possible scope.

######Activate

@Override
protected void onResume() {
	
	super.onStart();
		
	HiggsField.INSTANCE.activate();
	motionListView.register();
}

######Deactivate

@Override
protected void onPause() {
	
	super.onPause();
		
	HiggsField.INSTANCE.deactivate();
	motionListView.unregister();
}

##License This library is licensed under Apache License, Version 2.0.

Версии библиотеки

Версия
0.1.0