android10/frodo2 is a Java project with 145 stars in the Mobile space. Android Library for Logging RxJava2 Components
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
Frodo 2 is the second version of Frodo, mainly used to make easier debugging projects where RxJava 2 is used.
Just annotated your code and voilá!
On Android projects (both Kotlin and Java): It is safe to persist any Frodo 2 annotation in the codebase since the code generator will ONLY work on debug versions of the application where the plugin is applied.
On pure Kotlin/Java projects: EXPERIMENTAL, you can keep the annotation in the source code but you have to manually enable/disable the code generation (check Enabling Frodo 2 section).
RxJava 2 building blocks supported:
Flowable<T>
Observable<T>
Single<T>
Maybe<T>
Completable
Check Main Features Section below for more details.
Main Features
@RxLogFlowable: Annotated functions which return io.reactivex.Flowable<T> will print the following information on the log output:
To enable Frodo, a gradle plugin must be applied in your build.gradle:
buildscript {
repositories {
jcenter()
}
dependencies {
classpath "com.fernandocejas.frodo2:frodo2-plugin:$project.version"
}
}
apply plugin: 'com.fernandocejas.frodo2'
//By default frodo2 is ON, although
//we can enable-disable it with this configuration.
frodo2 {
enabled = true
}
Experimental
Frodo 2 works only on Android, Java and Kotlin* projects using Gradle as Build System.
In pure Java/Kotlin projects all the debug information will be display using System.out (NOT the case of Android which displays on the logcat). The idea for future versions is to be able to use different Loggers like Log4J or any other alternative for example.
Contributions are more than welcome.
Architecture Overview
It generates and weaves code based on annotations at compile time. This code is injected using Aspect Oriented Programming with AspectJ.
For more details please check these articles where there is a deeper explanation with implementation details:
Debugging RxJava on Android
Aspect Oriented Programming in Android
Known issues
1 - Limitation: Frodo 1 has the ability to detect @SubscribeOn thread but RxJava 2 does not offer any way to grab this information so only @ObserveOn thread information is displayed at the moment.
2 - On Android: Multi module setup (application + android library) will not log annotated methods/classes from Android Library Module but will do it on Android Application Module. The reason behind this, is that the Android Gradle Plugin will build all Android Libraries as release versions, for instance, Frodo is not able to weave any code on the annotated methods/classes (Remember that only weaves in debug versions). There is a workaround for forcing debug versions of your Android Libraries (just be careful in case this is forgotten and you end up shipping a version of your app with RxJava Logging enabled) by adding this line in your build.gradle file:
android {
defaultPublishConfig "debug"
}
Local Development
Clone the repo and use the scripts listed below in order to to run/install/execute frodo 2 locally:
./install_frodo2.sh - One time execution command for installing frodo library and dependencies.
./run_frodo2_android.sh - Compiles frodo2 and run the android sample application.
./run_frodo2_java - Compiles frodo2 and run the java sample application.
./gradlew runUnitTests - Execute all unit tests in the project.
Contribution
Here you can download and install the java codestyle.
https://github.com/android10/java-code-styles
License
Copyright 2018 Fernando Cejas
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.
No homepage URL was recorded for android10/frodo2 in TopGit's last sync. The README tab above frequently contains screenshots and demo links, or check the repository description on GitHub.
How active is development on android10/frodo2?
The most recent commit recorded on android10/frodo2 was 8.2 years ago, based on the GitHub push timestamp. The repository has 13 forks — one of the better signals of community interest.
Is android10/frodo2 open source?
TopGit's metadata for android10/frodo2 does not record a license. Most public repositories on GitHub ARE open source, but the exact terms vary — verify by opening the LICENSE file directly.
What topics is android10/frodo2 associated with?
GitHub's repository topics for android10/frodo2: "android", "android-development", "android-library", "debugger", "debugging", "debugging-tool", "java", "rxjava2". TopGit's editorial category is Mobile.
Where do I read more about android10/frodo2?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/android10/frodo2 is the definitive source.
Read full README in the tab above.
Want a second opinion on frodo2?
Ask an AI that can read this page — one click and you get its take on frodo2.