MCPcopy Index your code
hub / github.com/eastbanctechru/Reamp

github.com/eastbanctechru/Reamp @v1.0.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.0.2 ↗ · + Follow
559 symbols 1,680 edges 89 files 38 documented · 7%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Build Status license

Reamp

An easy, powerful, and flexible MVP/MVVM library for Android apps

What you get by using Reamp

  • Easy way to handle async operations
  • Easy way to saving and restoring UI state
  • UI errors handling
  • Ability to test your UI login with regular JUnit tests

  • No code generation

  • No reflection
  • No additional plugins needed
  • Kotlin ready

Reamp in a few words

Every ReampView (activity, fragment, whatever) has a presenter and a view state.

The presenter lives all the time across view's life cycle and dies only when the view explicitly closes (for instance, by pressing the back button).

The view state contains all the data your view needs.

Update the view state and send a notification to the view when you need to update the screen without having to pay attention to the life cycle.

Reamp will do all the remaining work: check view availability, save and restore the state if needed, and more.

Dependency

// root build.gradle file

allprojects {
    repositories {
        jcenter()
    }
}
// module build.gradle file
dependencies {
  compile 'etr.android.reamp:reamp:1.0.2'
}

License

The MIT License (MIT)

Copyright (c) EastBanc Technologies Russia

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Extension points exported contracts — how you extend this code

ReampView (Interface)
Interface which you implement to work with Reamp [4 implementers]
reamplib/src/main/java/etr/android/reamp/mvp/ReampView.java
StateChanges (Interface)
(no doc) [1 implementers]
reamplib/src/main/java/etr/android/reamp/mvp/StateChanges.java

Core symbols most depended-on inside this repo

getPresenter
called by 69
reamplib/src/main/java/etr/android/reamp/mvp/ReampView.java
get
called by 55
reamplib/src/main/java/etr/android/reamp/mvp/Action.java
getStateModel
called by 50
reamplib/src/main/java/etr/android/reamp/mvp/ReampPresenter.java
getInstance
called by 43
reamplib/src/main/java/etr/android/reamp/mvp/PresenterManager.java
getMvpId
called by 16
reamplib/src/main/java/etr/android/reamp/mvp/ReampView.java
sendStateModel
called by 16
reamplib/src/main/java/etr/android/reamp/mvp/ReampPresenter.java
getNavigation
called by 15
reamplib/src/main/java/etr/android/reamp/mvp/ReampPresenter.java
getContext
called by 12
reamplib/src/main/java/etr/android/reamp/mvp/ReampView.java

Shape

Method 453
Class 104
Interface 2

Languages

Java100%

Modules by API surface

reamplib/src/main/java/etr/android/reamp/mvp/ReampPresenter.java24 symbols
sample/src/main/java/example/reamp/view/MyView.java19 symbols
reamplib/src/test/java/etr/android/reamp/mvp/integrationtests/NavigationTest.java19 symbols
reamplib/src/test/java/etr/android/reamp/mvp/internal/TestReampCustomView.java17 symbols
sample/src/main/java/example/reamp/login/LoginState.java14 symbols
reamplib/src/test/java/etr/android/reamp/mvp/integrationtests/SupportFragmentTest.java14 symbols
reamplib/src/main/java/etr/android/reamp/mvp/PresenterManager.java14 symbols
sample/src/test/java/example/reamp/login/LoginPresenterTest.java13 symbols
reamplib/src/test/java/etr/android/reamp/mvp/integrationtests/ActivityTest.java13 symbols
reamplib/src/main/java/etr/android/reamp/mvp/MvpDelegate.java13 symbols
sample/src/main/java/example/reamp/login/LoginPresenter.java12 symbols
sample/src/main/java/example/reamp/login/LoginActivity.java12 symbols

For agents

$ claude mcp add Reamp \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact