8000 GitHub - fuyuguang/Router: A simple router lib to android · GitHub
[go: up one dir, main page]

Skip to content
  • fuyuguangPublic

    About

    A simple router lib to android

    Resources

    Stars

    1 star

    Watchers

    0 watching

    Forks

     
     

    Repository files navigation

    #Router svg

    This is a framework for starting activity by url*(“Scheme”)* on Android.

    中文README文档

    ###Dependencies

    LatestVersion= Download

    Basic config:

    // add it to your build.gradle on app project
    compile 'org.lzh.nonview.router:router-api:$LatestVersion'

    If you've added Parceler into your app, the best practice is to add a Compile-time framework to create route rules with annotations RouterRule to make Parceler more convenient:

    // add it to your build.gradle on app project
    apt 'org.lzh.nonview.router:router-compiler:$LatestVersion'

    ###Features

    • Support all types of Bundle
    • Support interceptor, for example, you can config a interceptor to force request login before open a activity that requires login.
    • Support open with browser when your scheme were http/https
    • Support add extras while open an Activity
    • Support set request code and launch mode and animation when open activity by route*
    • Flexible config: You can config your route rules automatically*(by use RouteRule annotation)* or manually

    Picture

    route ###Usage

    中文使用文档
    Usage Docs

    ###ChangeLog

    • 0.6
    add upport tpyes List<String> and List<Integer> with url
    some optimizes makes Router more strongger and safe
    

    ###Contacts

    Email:470368500@qq.com
    QQ group:108895031

    License

    Copyright 2015 
    
    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.
    

    About

    A simple router lib to android

    Resources

    Stars

    1 star

    Watchers

    0 watching

    Forks

    Releases

    Packages

    Contributors

    Languages

    0