Android教程網
  1. 首頁
  2. Android 技術
  3. Android 手機
  4. Android 系統教程
  5. Android 游戲
 Android教程網 >> Android技術 >> 關於Android編程 >> Android 快速開發框架CommonLibsForAndroid(有Demo)

Android 快速開發框架CommonLibsForAndroid(有Demo)

編輯:關於Android編程

這個項目所包含的功能,全部是從實際項目中提取,開發這個類庫的初衷也只是為了方便自己開發Android項目。由於時間所限,目前大量的內容還沒整理到這個開源項目中,doc和demo也有所欠缺,我將盡快完善。而其中大量不合理的內容,也將逐步改進。

歡迎大家提各種意見,當然更歡迎fork和pull request。

 

 

CommonLibsForAndroid

Using CommonLibs is a fast way to help you develop Android apps

快速開發Android應用的框架

 

Introduction

簡介

The lib contains many feature like View Injection,ORM,Asynchronous Http and Image,User scenario testing,many UI Modules etc.And there are also many useful feature like TripleDes Utils,WebViewUtils,Md5Utils etc.The lib will be added by more feature in the future.

 

If I add a new feature,I will write a demo for it at a same time.Some old features do not have demo but I will try to complete them.If you want to try the demo,you can download the Apk directly.

 

Up to now,I have only write the demo of most parts of UI modules and View Injection.The demo is something boring,but you can also see many kinds of UI modules.

 

I will try to make the demo more interesting and containing other parts such as ORM,Asynchronous Http and Image in next days.

 

框架目前主要包含的功能有View Injection,ORM,異步網絡請求和圖片加載,自動化腳本測試,磁盤LRU等功能,同時提供了類似於TripleDes、Webview快速設置、Md5處理、String處理等常用工具類,還有多種UI控件效果。並且這些功能正在逐步增加中。

 

部分老的功能還沒有Demo,但我會不斷的完善。目前每加入一個新功能都會增加Demo.Demo的Apk文件可以直接下載使用.

 

框架的Demo目前主要只包含了UI Module部分和View Injection,看上去有些無聊,不過你仍可以查看這些有趣的UI效果.

 

我將盡力在接下啦的日子中將Demo做的更有趣,同時也包括了類似ORM,異步圖片和網路加載等模塊。

Demo Manual

Demo 使用方法

Demo is rely on appcompat and the CommonLibs, you can change CONFIGURATION in your IDES etc. Some IDEs require additional configuration in order to enable annotation processing for Butter Knife, or you can see IntelliJ IDEA Configuration for Butter Knife or Eclipse Configuration for butter Knife.

Demo依賴於appcompat 和 CommonLibs,你可以在IDE或者配置文件裡面添加一下依賴。 部分IDE需要開啟annotation的編譯(因為Butter Knife)的緣故,如果不清楚如何開啟可以看一下IntelliJ IDEA Configuration for Butter Knife or Eclipse Configuration for butter Knife.

UI Modules

  • Support animations for Android 2.3
  • EnhanceListView for listview which can swipe to dismiss the item
  • Shimmer and Titanic to let the textview more amazing
  • SmoothProgressBar to let the progress bar like Gmail or Google +
  • Flip View for implementing flipping between views as seen in the popular Flipboard application
  • PhotoView to help produce an easily usable implementation of a zooming Android ImageView
  • PagerSlidingTabStrip and ViewPagerIndicator to help customing View Pager more easily.
  • SwipeBackLayout to help you finish a activity by swipe the screen.
    And there are also many UI modules which I do not mention here.
  • 支持Android2.3 上面的動畫效果
  • Listview的滑動刪除
  • 動態的textview
  • 類似Gmail和Google+的進度條
  • 類似FlipBoard的翻頁效果
  • 放大縮寫圖片的模塊
  • 影視效果的圖片
  • 更方便的定制ViewPager
  • 滑動後退
    還有許多其他模塊沒有提到

    Demo Manual

    Demo 使用方法

    Demo is rely on appcompat and the CommonLibs, you can change CONFIGURATION in your IDES etc. Some IDEs require additional configuration in order to enable annotation processing for Butter Knife, or you can see IntelliJ IDEA Configuration for Butter Knife or Eclipse Configuration for butter Knife.

    Demo依賴於appcompat 和 CommonLibs,你可以在IDE或者配置文件裡面添加一下依賴。 部分IDE需要開啟annotation的編譯(因為Butter Knife)的緣故,如果不清楚如何開啟可以看一下IntelliJ IDEA Configuration for Butter Knife or Eclipse Configuration for butter Knife.

    目前Demo非常簡陋,不斷完善中。

    Update:

    2014.6.12:Add descriptions of most of the classes.

    增加了類說明,還有一些方法名相對明確。

    2014.6.14:Add NineOldAndroids to support Android 2.1~2.3

    增加了支持2.3的android動畫,畢竟在某些地方2.3的占有率並不低。該類庫如果不需要可移除。

    2014.6.16 Add enhanceListView for swipe to dismiss; Move NineOldAndroids to Main Lib project.

    增加了滑動刪除的Listview;

    將NineOldAndroids從依賴項目改為放入主Lib工程,方便大家配置使用。

    2014.6.18 Add Shimmer-Android

    增加了Shimmer類庫

    2014.6.19 Add Sample Demo!! It is very sample demo but I will add more in the next week.

    增加了Demo!現在還很簡單,但是我再慢慢補充中。

    2014.6.20 Add TileView and Add demo of TileView

    2014.6.22 Add colors resource

    2014.6.24 Add SmoothProgressBar

    增加了Android風格的進度條的Demo。

    2014.6.25 Add StickyGridHeaders

    增加了頭部浮現控件和根據Letter過濾控件

    2014.6.26 Add Flip View like FlipBoard
    Add PhotoViewwhich can help you zoom image by various touch gestures.

    增加了類似FlipBoard的效果。

    增加了手勢放縮圖片的控件。

    2014.6.27 Add Square Progress
    Add FolderableLayout
    AddFoldingNavigationDrawer

    增加了幾種進度條的加載方式

    增加了折疊的圖片處理或者側邊菜單的樣式。

    2014.6.28 Add Calendar widget
    Add Demo.apk

    增加了日歷選擇控件

    增加了DemoApk

    2014.6.30
    Add FaceCrop
    Add KenBurns
    Add PanningView
    Add ProgressWheel
    Add ViewpagerSlidingTabs

    The CommonLibs use many opensource program and I am very grateful to the author of them. The opensource program which I use:

    1.JakeWharton's Butter Knife for View Injection.

    2.loopj's Asynchronous Http Client for Android.

    3.nostra13's Universal Image Loader for Android

    4.greenrobot's greenDAO

    5.pardom's ActiveAndroid

    6.JakeWharton's DiskLruCache

    7.Issacw0ng's SwipeBackLayout

    8.google-gson

    9.RobotiumTech's robotium

    10.JakeWharton's NineOldAndroids

    11.JakeWharton's Android-ViewPagerIndicator

    If there's anything I forgot to mention,I would be very appreciated for helping me notice it.

    And there are also many useful feature like TripleDes Utils,WebViewUtils,Md5Utils etc.

    TripleDes Utils,WebViewUtils,Md5Utils

    目前主要包含的功能有View Injection,ORM,異步網絡請求和圖片加載,自動化腳本測試,磁盤LRU等功能,同時提供了類似於TripleDes、Webview快速設置、Md5 處理、String處理等常用工具類,還有類似於滑動返回、帶動畫的expandable listview等UI效果,以及類似於圓角圖片,圖像模糊等多種 控件效果。並且這些功能正在逐步增加中。

    歡迎各種fork與提意見。

    如果大家有需要的功能,歡迎隨時提意見。

    License

    Copyright 2014 Marshal Chen

     

    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.

  1. 上一頁:
  2. 下一頁:
熱門文章
閱讀排行版
Copyright © Android教程網 All Rights Reserved