tomoima525 / debot Goto Github PK
View Code? Open in Web Editor NEWA simple Android library to create Debugging menu
A simple Android library to create Debugging menu
As you put your ArrayList of DebotStrategy
to the Fragment arguments with putSerializable
, you have to make sure DebotStrategy
implements Serializable.
This causes an error when you try to save DebotFragment
just like DroidKaigi/conference-app-2017#254
Thanks.
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'
...
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 以外へのライブラリの設置は予定していますか?
Issue
I wan't to create my custom menu about following:
I tried by following code:
val strategyBuilder = DebotStrategyBuilder.Builder()
.registerMenu("API接続先の設定", DebugApiDebotStrategy())
.registerMenu("BASIC認証の設定", DebugBasicAuthDebotStrategy())
.build()
DebotConfigurator.configureWithCustomizedMenu(strategyBuilder.strategyList)
However, the result is:
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:
I'll make Pull Request if you do not mind.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.