GithubHelp home page GithubHelp logo

tomoima525 / debot Goto Github PK

View Code? Open in Web Editor NEW
77.0 6.0 9.0 3.35 MB

A simple Android library to create Debugging menu

Java 31.75% Kotlin 68.25%
android android-library debug kotlin-library kotlin-android

debot's People

Contributors

androhi avatar atsuko-fukui avatar irgaly avatar panpanini avatar poontang avatar tomoima525 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

debot's Issues

Is download correct?

I'm tring this library, but fail the gradle sync.
I was successful try the following code.

dependencies {
  debugCompile 'com.tomoima.debot:debot:1.0.1'
  releaseCompile 'com.tomoima.debot:debot-no-op:1.0.1'
  ...

jcenter リポジトリ削除でエラー

Gradle から jcenter() の記述を削除し、mavenCentral() へ置き換えたところビルド時に以下のエラーとなりました。

   > Could not find com.tomoima.debot:debot:2.0.6.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/tomoima/debot/debot/2.0.6/debot-2.0.6.pom
       - https://repo.maven.apache.org/maven2/com/tomoima/debot/debot/2.0.6/debot-2.0.6.pom
       - https://jitpack.io/com/tomoima/debot/debot/2.0.6/debot-2.0.6.pom
       - ...

jcenter 以外へのライブラリの設置は予定していますか?

How can I configure order of default menu and custom menu?

Overview

I wan't to create my custom menu about following:

  • MyCustomStrategies
    • CustomStrategy1
    • CustomStrategy2
  • DefaultStrategies
    • CheckAppVersionStrategy
    • ShowActivityInfoStrategy

I tried by following code:

val strategyBuilder = DebotStrategyBuilder.Builder()
        .registerMenu("API接続先の設定", DebugApiDebotStrategy())
        .registerMenu("BASIC認証の設定", DebugBasicAuthDebotStrategy())
        .build()
DebotConfigurator.configureWithCustomizedMenu(strategyBuilder.strategyList)

However, the result is:

  • DefaultStrategies
    • CheckDpiStrategy
    • ShowActivityInfoStrategy
    • CheckAppVersionStrategy
    • DebotCallActivityMethodStrategy
  • MyCustomStrategies
    • CustomStrategy1
    • CustomStrategy2

Additional

Here is the source code of DebotConfigurator.configureWithCustomizedMenu :

object DebotConfigurator {

    ~~~~~

    @JvmStatic fun configureWithCustomizedMenu(customList: ArrayList<DebotStrategy>) {
        val registerList = createDefaultMenuConfig()
        registerList.addAll(customList)
        DebotStrategies.initialize(registerList)
    }
    
    ~~~~~
}

configureWithCustomizedMenu adds default strategies before adding custom strategies.

I hope one of the following feature:

  • adding default strategies after adding custom strategies.
  • adding custom strategies without default strategies. (and I'll copy some default strategy)
  • adding strategies in a free order.

I'll make Pull Request if you do not mind.

Mocking framework

Hi,

hope find you well with this cold call.

I am an author of mocking framework for Kotlin

I see you are using mockito-kotlin.

I just want you to be aware that there is solution that fully supports Kotlin and ask to try it in your new/current projects.

I can help you if you answer to this issue.

Thanks and please star it

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.