text
stringlengths
9
39.2M
dir
stringlengths
25
226
lang
stringclasses
163 values
created_date
timestamp[s]
updated_date
timestamp[s]
repo_name
stringclasses
751 values
repo_full_name
stringclasses
752 values
star
int64
1.01k
183k
len_tokens
int64
1
18.5M
```java package com.arellomobile.mvp.presenter; import com.arellomobile.mvp.InjectViewState; /** * Date: 08.02.2016 * Time: 16:29 * * @author Savin Mikhail */ @InjectViewState public class InjectViewStatePresenter extends TestViewPresenter { } ```
/content/code_sandbox/moxy/src/test/java/com/arellomobile/mvp/presenter/InjectViewStatePresenter.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
63
```java package com.arellomobile.mvp.presenter; import com.arellomobile.mvp.InjectViewState; import com.arellomobile.mvp.MvpPresenter; import com.arellomobile.mvp.view.PositiveViewStateView; /** * Date: 26.02.2016 * Time: 17:38 * * @author Savin Mikhail */ @InjectViewState public class PositiveViewStateProvider...
/content/code_sandbox/moxy/src/test/java/com/arellomobile/mvp/presenter/PositiveViewStateProviderPresenter.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
92
```java package com.arellomobile.mvp.presenter; import com.arellomobile.mvp.InjectViewState; import com.arellomobile.mvp.MvpPresenter; import com.arellomobile.mvp.view.TestView2; /** * Date: 15.03.2016 * Time: 13:57 * * @author Savin Mikhail */ @InjectViewState public class InjectViewStatePresenter2 extends MvpP...
/content/code_sandbox/moxy/src/test/java/com/arellomobile/mvp/presenter/InjectViewStatePresenter2.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
91
```java package com.arellomobile.mvp; import java.lang.annotation.Target; import static java.lang.annotation.ElementType.TYPE; /** * <p>Generate view state class for annotated view interface.</p> * <p>Generated class implements this view interface.</p> * * @deprecated As of release 0.4.1, {@link InjectViewState...
/content/code_sandbox/moxy/src/main/java/com/arellomobile/mvp/GenerateViewState.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
97
```java package com.arellomobile.mvp; /** * Date: 17-Dec-15 * Time: 19:00 * * @author Alexander Blinov * @author Yuri Shmakov */ @SuppressWarnings({"WeakerAccess", "unused"}) public final class MvpFacade { private static volatile MvpFacade sInstance; private static final Object sLock = new Object(); public ...
/content/code_sandbox/moxy/src/main/java/com/arellomobile/mvp/MvpFacade.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
342
```java package com.arellomobile.mvp; /** * Date: 21.01.2016 * Time: 19:58 * * @author Yuri Shmakov */ public interface MvpView { } ```
/content/code_sandbox/moxy/src/main/java/com/arellomobile/mvp/MvpView.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
46
```java package com.arellomobile.mvp; import java.lang.annotation.Target; import com.arellomobile.mvp.viewstate.MvpViewState; import static java.lang.annotation.ElementType.TYPE; /** * Inject view state to {@link MvpPresenter#mViews} and * {@link MvpPresenter#mViewState} presenter fields. Presenter, annotated wi...
/content/code_sandbox/moxy/src/main/java/com/arellomobile/mvp/InjectViewState.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
156
```java package com.arellomobile.mvp; import java.util.ArrayList; import java.util.Collections; import java.util.List; import com.arellomobile.mvp.presenter.PresenterField; import com.arellomobile.mvp.presenter.PresenterType; /** * Date: 18-Dec-15 * Time: 13:16 * * @author Yuri Shmakov * @author Alexander Blino...
/content/code_sandbox/moxy/src/main/java/com/arellomobile/mvp/MvpProcessor.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
1,161
```java package com.arellomobile.mvp; /** * Date: 04.02.2016 * Time: 14:15 * * @author Yuri Shmakov */ public interface DefaultView extends MvpView { } ```
/content/code_sandbox/moxy/src/main/java/com/arellomobile/mvp/DefaultView.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
49
```java package com.arellomobile.mvp; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.Map; import java.util.Set; /** * Date: 14-Nov-16 * Time: 04:39 * * @author Yuri Shmakov */ @SuppressWarnings("WeakerAccess") public class PresentersCounter { private Map<MvpPres...
/content/code_sandbox/moxy/src/main/java/com/arellomobile/mvp/PresentersCounter.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
649
```java package com.arellomobile.mvp; import java.lang.annotation.Target; import static java.lang.annotation.ElementType.TYPE; /** * Register MoxyReflector packages from other modules */ @Target(value = TYPE) public @interface RegisterMoxyReflectorPackages { String[] value(); } ```
/content/code_sandbox/moxy/src/main/java/com/arellomobile/mvp/RegisterMoxyReflectorPackages.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
58
```java package com.arellomobile.mvp; import com.arellomobile.mvp.viewstate.MvpViewState; /** * Date: 18.12.2015 * Time: 13:15 * * @author Yuri Shmakov */ public abstract class ViewStateProvider { /** * <p>Presenter creates view state object by calling this method.</p> * * @return view state class name ...
/content/code_sandbox/moxy/src/main/java/com/arellomobile/mvp/ViewStateProvider.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
99
```java package com.arellomobile.mvp; import java.util.Collections; import java.util.Set; import java.util.WeakHashMap; import com.arellomobile.mvp.presenter.PresenterType; import com.arellomobile.mvp.viewstate.MvpViewState; /** * Date: 15.12.2015 * Time: 19:31 * * @author Yuri Shmakov * @author Alexander Blino...
/content/code_sandbox/moxy/src/main/java/com/arellomobile/mvp/MvpPresenter.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
1,069
```java package com.arellomobile.mvp; import java.util.List; import com.arellomobile.mvp.presenter.PresenterField; /** * Date: 18-Dec-15 * Time: 18:42 * * @author Alexander Blinov */ public abstract class PresenterBinder<PresentersContainer> { public abstract List<PresenterField<PresentersContainer>> getPresen...
/content/code_sandbox/moxy/src/main/java/com/arellomobile/mvp/PresenterBinder.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
81
```java package com.arellomobile.mvp; import com.arellomobile.mvp.viewstate.MvpViewState; /** * Date: 19.12.2015 * Time: 14:54 * * @author Yuri Shmakov */ public final class DefaultViewState extends MvpViewState<MvpView> { } ```
/content/code_sandbox/moxy/src/main/java/com/arellomobile/mvp/DefaultViewState.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
67
```java package com.arellomobile.mvp; import java.util.HashMap; import java.util.Map; import android.util.Log; /** * Date: 17-Dec-15 * Time: 16:05 * * @author Yuri Shmakov * @author Alexander Blinov */ @SuppressWarnings("WeakerAccess") public class PresenterStore { private Map<String, MvpPresenter> mPresenter...
/content/code_sandbox/moxy/src/main/java/com/arellomobile/mvp/PresenterStore.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
366
```java /* * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ package com.arellomobile.mvp; /** * Container to ease passing around a tuple of two objects. This object provides a sensible ...
/content/code_sandbox/moxy/src/main/java/com/arellomobile/mvp/Pair.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
517
```java package com.arellomobile.mvp.viewstate; import java.util.Collections; import java.util.List; import java.util.Map; import java.util.Set; import java.util.WeakHashMap; import com.arellomobile.mvp.MvpView; /** * Date: 15.12.2015 * Time: 19:58 * * @author Yuri Shmakov */ @SuppressWarnings("WeakerAccess") p...
/content/code_sandbox/moxy/src/main/java/com/arellomobile/mvp/viewstate/MvpViewState.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
662
```java package com.arellomobile.mvp.viewstate; import com.arellomobile.mvp.MvpView; import com.arellomobile.mvp.viewstate.strategy.StateStrategy; /** * Date: 16-Dec-15 * Time: 16:59 * * @author Alexander Blinov */ public abstract class ViewCommand<View extends MvpView> { private final String mTag; private fin...
/content/code_sandbox/moxy/src/main/java/com/arellomobile/mvp/viewstate/ViewCommand.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
171
```java package com.arellomobile.mvp.viewstate; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Set; import com.arellomobile.mvp.MoxyReflector; import com.arellomobile.mvp.MvpView; import com.arellomobile.mvp.viewstate.strategy.StateStrategy; /** *...
/content/code_sandbox/moxy/src/main/java/com/arellomobile/mvp/viewstate/ViewCommands.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
476
```java package com.arellomobile.mvp.viewstate.strategy; import java.util.List; import com.arellomobile.mvp.MvpView; import com.arellomobile.mvp.viewstate.ViewCommand; /** * This strategy will clear current commands queue and then incoming command will be put in. * * Caution! Be sure that you fully set view to in...
/content/code_sandbox/moxy/src/main/java/com/arellomobile/mvp/viewstate/strategy/SingleStateStrategy.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
195
```java package com.arellomobile.mvp.viewstate.strategy; import java.util.Iterator; import java.util.List; import com.arellomobile.mvp.MvpView; import com.arellomobile.mvp.viewstate.ViewCommand; /** * Command will be added to end of commands queue. If commands queue contains same type command, then existing command...
/content/code_sandbox/moxy/src/main/java/com/arellomobile/mvp/viewstate/strategy/AddToEndSingleStrategy.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
242
```java package com.arellomobile.mvp.viewstate.strategy; import java.util.List; import com.arellomobile.mvp.MvpView; import com.arellomobile.mvp.viewstate.ViewCommand; /** * Command will be saved in commands queue. And this command will be removed after first execution. * * Date: 24.11.2016 * Time: 11:48 * * @...
/content/code_sandbox/moxy/src/main/java/com/arellomobile/mvp/viewstate/strategy/OneExecutionStateStrategy.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
179
```java package com.arellomobile.mvp; import java.util.ArrayList; import java.util.List; import java.util.Set; import android.os.Bundle; import com.arellomobile.mvp.presenter.PresenterType; /** * Date: 18-Dec-15 * Time: 13:51 * <p> * This class represents a delegate which you can use to extend Mvp's support to ...
/content/code_sandbox/moxy/src/main/java/com/arellomobile/mvp/MvpDelegate.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
2,055
```java package com.arellomobile.mvp.viewstate.strategy; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Date: 16-Dec-15 * Time: 17:07 * * @author Yuri Shmakov * @author Alexander Blinov */ @Ta...
/content/code_sandbox/moxy/src/main/java/com/arellomobile/mvp/viewstate/strategy/StateStrategyType.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
117
```java package com.arellomobile.mvp.viewstate.strategy; import java.util.List; import com.arellomobile.mvp.MvpView; import com.arellomobile.mvp.viewstate.ViewCommand; /** * Command will not be put in commands queue * * Date: 21-Dec-15 * Time: 17:43 * * @author Alexander Blinov */ public class SkipStrategy im...
/content/code_sandbox/moxy/src/main/java/com/arellomobile/mvp/viewstate/strategy/SkipStrategy.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
163
```java package com.arellomobile.mvp.viewstate.strategy; import java.util.List; import com.arellomobile.mvp.MvpView; import com.arellomobile.mvp.viewstate.ViewCommand; /** * Command will be added to end of commands queue. * * This strategy used by default. * * Date: 17.12.2015 * Time: 11:29 * * @author Yuri ...
/content/code_sandbox/moxy/src/main/java/com/arellomobile/mvp/viewstate/strategy/AddToEndStrategy.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
175
```java package com.arellomobile.mvp.presenter; import com.arellomobile.mvp.*; /** * Date: 18-Dec-15 * Time: 17:50 * * @author Alexander Blinov * @author Yuri Shmakov */ public abstract class PresenterField<PresentersContainer> { protected final String tag; protected final PresenterType presenterType; protec...
/content/code_sandbox/moxy/src/main/java/com/arellomobile/mvp/presenter/PresenterField.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
275
```java package com.arellomobile.mvp.viewstate.strategy; import java.util.List; import com.arellomobile.mvp.MvpView; import com.arellomobile.mvp.viewstate.ViewCommand; /** * Cautions: * <ul> * <li>Don't rearrange current state</li> * <li>Don't insert commands inside existing current state only put to en...
/content/code_sandbox/moxy/src/main/java/com/arellomobile/mvp/viewstate/strategy/StateStrategy.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
466
```java package com.arellomobile.mvp.presenter; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import com.arellomobile.mvp.MvpPresenter; /** * <p>Called when Moxy generate presenter tag for search Prese...
/content/code_sandbox/moxy/src/main/java/com/arellomobile/mvp/presenter/ProvidePresenterTag.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
254
```java package com.arellomobile.mvp.presenter; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Called when Moxy can't find right presenter instance in {@link com.arellomobile.mvp.PresenterStore}. ...
/content/code_sandbox/moxy/src/main/java/com/arellomobile/mvp/presenter/ProvidePresenter.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
303
```java package com.arellomobile.mvp.presenter; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Date: 17.12.2015 * Time: 14:54 * * @author Yuri Shmakov * @author Alexander BLinov */ @Target(Ele...
/content/code_sandbox/moxy/src/main/java/com/arellomobile/mvp/presenter/InjectPresenter.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
124
```java package com.arellomobile.mvp.presenter; import com.arellomobile.mvp.MvpPresenter; /** * Available presenter types. Manually lifetime control are available over {@link com.arellomobile.mvp.PresenterStore}, {@link com.arellomobile.mvp.PresentersCounter} and {@link MvpPresenter#onDestroy()} * <p> * Date: 17-D...
/content/code_sandbox/moxy/src/main/java/com/arellomobile/mvp/presenter/PresenterType.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
203
```qmake # Add project specific ProGuard rules here. # By default, the flags in this file are appended to flags specified # in C:\Development\Programs\Android\android-sdk/tools/proguard/proguard-android.txt # You can edit the include path and order by changing the proguardFiles # directive in build.gradle. # # For more...
/content/code_sandbox/sample-github/proguard-rules.pro
qmake
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
143
```java package com.arellomobile.mvp; import java.util.HashMap; import java.util.List; import java.util.Map; /** * Date: 07.12.2016 * Time: 16:39 * * @author Yuri Shmakov */ public class MoxyReflector { private static Map<Class<?>, Object> sViewStateProviders; private static Map<Class<?>, List<Object>> sPresen...
/content/code_sandbox/moxy/stub-reflector/src/main/java/com/arellomobile/mvp/MoxyReflector.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
192
```java package com.arellomobile.mvp.sample.github.test; import android.content.Context; import com.arellomobile.mvp.sample.github.di.AppComponent; import com.arellomobile.mvp.sample.github.mvp.GithubService; import com.arellomobile.mvp.sample.github.mvp.presenters.RepositoriesPresenter; import com.arellomobile.mvp.s...
/content/code_sandbox/sample-github/src/test/java/com/arellomobile/mvp/sample/github/test/TestComponent.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
208
```java package com.arellomobile.mvp.sample.github.test; import java.lang.reflect.Method; import android.support.annotation.NonNull; import com.arellomobile.mvp.sample.github.BuildConfig; import org.junit.runners.model.InitializationError; import org.robolectric.RobolectricTestRunner; import org.robolectric.annotat...
/content/code_sandbox/sample-github/src/test/java/com/arellomobile/mvp/sample/github/test/GithubSampleTestRunner.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
225
```java package com.arellomobile.mvp.sample.github.test; import android.support.annotation.NonNull; import com.arellomobile.mvp.sample.github.app.GithubApp; import com.arellomobile.mvp.sample.github.di.AppComponent; import org.junit.rules.TestRule; import org.junit.runner.Description; import org.junit.runners.model....
/content/code_sandbox/sample-github/src/test/java/com/arellomobile/mvp/sample/github/test/TestComponentRule.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
168
```java package com.arellomobile.mvp.sample.github.mvp.presenters; import com.arellomobile.mvp.sample.github.mvp.common.AuthUtils; import com.arellomobile.mvp.sample.github.mvp.views.SplashView; import com.arellomobile.mvp.sample.github.test.GithubSampleTestRunner; import com.arellomobile.mvp.sample.github.test.TestCo...
/content/code_sandbox/sample-github/src/test/java/com/arellomobile/mvp/sample/github/mvp/presenters/SplashPresenterTest.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
281
```java package com.arellomobile.mvp.sample.github.mvp.presenters; import com.arellomobile.mvp.sample.github.mvp.models.Repository; import com.arellomobile.mvp.sample.github.mvp.views.HomeView; import com.arellomobile.mvp.sample.github.mvp.views.HomeView$$State; import org.junit.Before; import org.junit.Test; import ...
/content/code_sandbox/sample-github/src/test/java/com/arellomobile/mvp/sample/github/mvp/presenters/HomePresenterTest.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
233
```java package com.arellomobile.mvp.sample.github.mvp.presenters; import java.util.ArrayList; import java.util.List; import com.arellomobile.mvp.sample.github.di.AppComponent; import com.arellomobile.mvp.sample.github.mvp.GithubService; import com.arellomobile.mvp.sample.github.mvp.models.Repository; import com.arel...
/content/code_sandbox/sample-github/src/test/java/com/arellomobile/mvp/sample/github/mvp/presenters/RepositoriesPresenterTest.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
899
```java package com.arellomobile.mvp.sample.github.mvp.presenters; import java.util.Collections; import com.arellomobile.mvp.sample.github.mvp.models.Repository; import com.arellomobile.mvp.sample.github.mvp.views.RepositoryView$$State; import com.arellomobile.mvp.sample.github.test.GithubSampleTestRunner; import com...
/content/code_sandbox/sample-github/src/test/java/com/arellomobile/mvp/sample/github/mvp/presenters/RepositoryPresenterTest.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
359
```java package com.arellomobile.mvp.sample.github.mvp.presenters; import com.arellomobile.mvp.sample.github.mvp.common.AuthUtils; import com.arellomobile.mvp.sample.github.mvp.views.SignOutView$$State; import com.arellomobile.mvp.sample.github.test.GithubSampleTestRunner; import com.arellomobile.mvp.sample.github.tes...
/content/code_sandbox/sample-github/src/test/java/com/arellomobile/mvp/sample/github/mvp/presenters/SignOutPresenterTest.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
258
```xml <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="path_to_url" package="com.arellomobile.mvp.sample.github"> <uses-permission android:name="android.permission.INTERNET" /> <application android:name=".app.GithubApp" android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:l...
/content/code_sandbox/sample-github/src/main/AndroidManifest.xml
xml
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
220
```xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="path_to_url" xmlns:tools="path_to_url" android:layout_width="match_parent" android:layout_height="match_parent" android:descendantFocusability="blocksDescendants" android:padding="8dp" android:orientation="horizontal" android:background="...
/content/code_sandbox/sample-github/src/main/res/layout/item_repository.xml
xml
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
232
```xml <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="path_to_url" android:layout_width="match_parent" android:layout_height="match_parent" xmlns:tools="path_to_url"> <com.arellomobile.mvp.sample.github.ui.views.RepositoryWidget android:id="@+id/fragment_repository_details_text_view_title"...
/content/code_sandbox/sample-github/src/main/res/layout/fragment_repository_details.xml
xml
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
199
```java package com.arellomobile.mvp.sample.github.mvp.presenters; import java.util.concurrent.TimeUnit; import android.content.Context; import android.util.Base64; import com.arellomobile.mvp.sample.github.R; import com.arellomobile.mvp.sample.github.di.AppComponent; import com.arellomobile.mvp.sample.github.mvp.Gi...
/content/code_sandbox/sample-github/src/test/java/com/arellomobile/mvp/sample/github/mvp/presenters/SignInPresenterTest.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
914
```xml <LinearLayout xmlns:android="path_to_url" xmlns:tools="path_to_url" android:id="@+id/activity_sign_in_linear_layout_container" android:layout_width="match_parent" android:layout_height="match_parent" android:gravity="center_horizontal" android:orientation="vertical" android:paddingBottom="@dimen/activity_...
/content/code_sandbox/sample-github/src/main/res/layout/activity_sign_in.xml
xml
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
563
```xml <resources> <!-- Base application theme. --> <style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar"> <!-- Customize your theme here. --> <item name="colorPrimary">@color/colorPrimary</item> <item name="colorPrimaryDark">@color/colorPrimaryDark</item> <item name="colorAccent">@color/colorAcc...
/content/code_sandbox/sample-github/src/main/res/values/styles.xml
xml
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
90
```xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="path_to_url" xmlns:app="path_to_url" xmlns:tools="path_to_url" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <android.support.v7.widget.Toolbar android:id="@+id/activity_home_to...
/content/code_sandbox/sample-github/src/main/res/layout/activity_home.xml
xml
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
590
```xml <resources> <!-- Default screen margins, per the Android Design guidelines. --> <dimen name="activity_horizontal_margin">16dp</dimen> <dimen name="activity_vertical_margin">16dp</dimen> </resources> ```
/content/code_sandbox/sample-github/src/main/res/values/dimens.xml
xml
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
50
```xml <resources> <string name="app_name">Github</string> <!-- Strings related to login --> <string name="prompt_email">Email</string> <string name="prompt_password">Password</string> <string name="action_sign_in">Sign in</string> <string name="action_sign_in_short">Sign in</string> <string name="error_invalid...
/content/code_sandbox/sample-github/src/main/res/values/strings.xml
xml
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
158
```xml <?xml version="1.0" encoding="utf-8"?> <resources> <color name="colorPrimary">#3F51B5</color> <color name="colorPrimaryDark">#303F9F</color> <color name="colorAccent">#FF4081</color> </resources> ```
/content/code_sandbox/sample-github/src/main/res/values/colors.xml
xml
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
67
```xml <resources> <!-- Example customization of dimensions originally defined in res/values/dimens.xml (such as screen margins) for screens with more than 820dp of available width. This would include 7" and 10" devices in landscape (~960dp and ~1280dp respectively). --> <dimen name="activity_horizo...
/content/code_sandbox/sample-github/src/main/res/values-w820dp/dimens.xml
xml
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
82
```xml <?xml version="1.0" encoding="utf-8"?> <selector xmlns:android="path_to_url"> <item android:drawable="@color/colorAccent" android:state_selected="true" /> <item android:drawable="@android:color/transparent" /> </selector> ```
/content/code_sandbox/sample-github/src/main/res/drawable/item_repository_backgound.xml
xml
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
61
```xml <?xml version="1.0" encoding="utf-8"?> <menu xmlns:android="path_to_url" xmlns:app="path_to_url"> <item android:id="@+id/menu_home_sign_out" android:title="Sign out" app:showAsAction="always"/> </menu> ```
/content/code_sandbox/sample-github/src/main/res/menu/menu_home.xml
xml
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
70
```xml <?xml version="1.0" encoding="utf-8"?> <selector xmlns:android="path_to_url"> <item android:drawable="@drawable/ic_like_disabled" android:state_enabled="false" /> <item android:drawable="@drawable/ic_like_selected" android:state_selected="true" /> <item android:drawable="@drawable/ic_like_normal" /> </selecto...
/content/code_sandbox/sample-github/src/main/res/drawable/ckeck_box_like_background.xml
xml
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
81
```java package com.arellomobile.mvp.sample.github.ui.adapters; import android.widget.BaseAdapter; import com.arellomobile.mvp.MvpDelegate; /** * Date: 26.01.2016 * Time: 17:26 * * @author Yuri Shmakov */ public abstract class MvpBaseAdapter extends BaseAdapter { private MvpDelegate<? extends MvpBaseAdapter> m...
/content/code_sandbox/sample-github/src/main/java/com/arellomobile/mvp/sample/github/ui/adapters/MvpBaseAdapter.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
206
```java package com.arellomobile.mvp.sample.github.ui.activities; import android.app.AlertDialog; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.view.inputmethod.EditorInfo; import android.widget.Button; import android.widget.EditText; import com.arellomobile.mvp.Mvp...
/content/code_sandbox/sample-github/src/main/java/com/arellomobile/mvp/sample/github/ui/activities/SignInActivity.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
693
```java package com.arellomobile.mvp.sample.github.ui.adapters; import java.util.ArrayList; import java.util.List; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageButton; import android.widget.ProgressBar; import android.widget.TextView; import ...
/content/code_sandbox/sample-github/src/main/java/com/arellomobile/mvp/sample/github/ui/adapters/RepositoriesAdapter.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
1,283
```java package com.arellomobile.mvp.sample.github.ui.activities; import android.content.Intent; import android.os.Bundle; import com.arellomobile.mvp.MvpAppCompatActivity; import com.arellomobile.mvp.presenter.InjectPresenter; import com.arellomobile.mvp.sample.github.mvp.presenters.SplashPresenter; import com.arell...
/content/code_sandbox/sample-github/src/main/java/com/arellomobile/mvp/sample/github/ui/activities/SplashActivity.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
187
```java package com.arellomobile.mvp.sample.github.ui.views; import android.content.Context; import android.support.v4.widget.SwipeRefreshLayout; import android.util.AttributeSet; import android.widget.ListView; /** * Date: 26.01.2016 * Time: 14:54 * * @author Yuri Shmakov */ public class FrameSwipeRefreshLayout...
/content/code_sandbox/sample-github/src/main/java/com/arellomobile/mvp/sample/github/ui/views/FrameSwipeRefreshLayout.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
194
```java package com.arellomobile.mvp.sample.github.ui.views; import android.content.Context; import android.os.Build; import android.support.annotation.RequiresApi; import android.util.AttributeSet; import android.widget.TextView; import com.arellomobile.mvp.MvpDelegate; import com.arellomobile.mvp.presenter.InjectPr...
/content/code_sandbox/sample-github/src/main/java/com/arellomobile/mvp/sample/github/ui/views/RepositoryWidget.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
480
```java package com.arellomobile.mvp.sample.github.ui.views; import android.annotation.TargetApi; import android.content.Context; import android.os.Build; import android.util.AttributeSet; import android.widget.Button; import android.widget.Checkable; /** * Date: 26.01.2016 * Time: 17:19 * * @author Yuri Shmakov ...
/content/code_sandbox/sample-github/src/main/java/com/arellomobile/mvp/sample/github/ui/views/LikeButton.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
239
```java package com.arellomobile.mvp.sample.github.ui.activities; import java.util.List; import android.app.AlertDialog; import android.content.Intent; import android.os.Bundle; import android.support.v7.widget.Toolbar; import android.view.Menu; import android.view.MenuInflater; import android.view.MenuItem; import a...
/content/code_sandbox/sample-github/src/main/java/com/arellomobile/mvp/sample/github/ui/activities/HomeActivity.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
1,250
```java package com.arellomobile.mvp.sample.github.common; import rx.Observable; import rx.android.schedulers.AndroidSchedulers; import rx.schedulers.Schedulers; /** * Date: 11.01.2017 * Time: 16:39 * * @author Yuri Shmakov */ public class Utils { public static <T> Observable.Transformer<T, T> applySchedulers(...
/content/code_sandbox/sample-github/src/main/java/com/arellomobile/mvp/sample/github/common/Utils.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
101
```java package com.arellomobile.mvp.sample.github.di; import android.content.Context; import com.arellomobile.mvp.sample.github.di.modules.BusModule; import com.arellomobile.mvp.sample.github.di.modules.ContextModule; import com.arellomobile.mvp.sample.github.di.modules.GithubModule; import com.arellomobile.mvp.samp...
/content/code_sandbox/sample-github/src/main/java/com/arellomobile/mvp/sample/github/di/AppComponent.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
233
```java package com.arellomobile.mvp.sample.github.ui.fragments; import java.util.List; import android.os.Bundle; import android.support.annotation.Nullable; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageButton; import com.arellomobile.mvp.Mvp...
/content/code_sandbox/sample-github/src/main/java/com/arellomobile/mvp/sample/github/ui/fragments/DetailsFragment.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
627
```java package com.arellomobile.mvp.sample.github.di.modules; import com.arellomobile.mvp.sample.github.app.GithubApi; import com.squareup.otto.Bus; import javax.inject.Singleton; import dagger.Module; import dagger.Provides; /** * Date: 20.09.2016 * Time: 20:22 * * @author Yuri Shmakov */ @Module public clas...
/content/code_sandbox/sample-github/src/main/java/com/arellomobile/mvp/sample/github/di/modules/BusModule.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
112
```java package com.arellomobile.mvp.sample.github.di.modules; import com.arellomobile.mvp.sample.github.app.GithubApi; import com.arellomobile.mvp.sample.github.mvp.GithubService; import javax.inject.Singleton; import dagger.Module; import dagger.Provides; /** * Date: 8/26/2016 * Time: 11:58 * * @author Artur...
/content/code_sandbox/sample-github/src/main/java/com/arellomobile/mvp/sample/github/di/modules/GithubModule.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
132
```java package com.arellomobile.mvp.sample.github.di.modules; import java.lang.reflect.Field; import com.google.gson.FieldNamingPolicy; import com.google.gson.FieldNamingStrategy; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import javax.inject.Singleton; import dagger.Module; import dagger.Pro...
/content/code_sandbox/sample-github/src/main/java/com/arellomobile/mvp/sample/github/di/modules/RetrofitModule.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
399
```java package com.arellomobile.mvp.sample.github.di.modules; import com.arellomobile.mvp.sample.github.app.GithubApi; import javax.inject.Singleton; import dagger.Module; import dagger.Provides; import retrofit2.Retrofit; /** * Date: 9/2/2016 * Time: 18:54 * * @author Artur Artikov */ @Module(includes = {Ret...
/content/code_sandbox/sample-github/src/main/java/com/arellomobile/mvp/sample/github/di/modules/ApiModule.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
123
```java package com.arellomobile.mvp.sample.github.di.modules; import android.content.Context; import javax.inject.Singleton; import dagger.Module; import dagger.Provides; /** * Date: 8/18/2016 * Time: 14:50 * * @author Artur Artikov */ @Module public class ContextModule { private Context mContext; public C...
/content/code_sandbox/sample-github/src/main/java/com/arellomobile/mvp/sample/github/di/modules/ContextModule.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
110
```java package com.arellomobile.mvp.sample.github.app; import java.util.List; import com.arellomobile.mvp.sample.github.mvp.models.Repository; import com.arellomobile.mvp.sample.github.mvp.models.User; import com.arellomobile.mvp.sample.github.mvp.models.gson.SearchResult; import retrofit2.Call; import retrofit2.Re...
/content/code_sandbox/sample-github/src/main/java/com/arellomobile/mvp/sample/github/app/GithubApi.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
233
```java package com.arellomobile.mvp.sample.github.app; import android.app.Application; import android.support.annotation.NonNull; import android.support.annotation.VisibleForTesting; import com.arellomobile.mvp.sample.github.di.AppComponent; import com.arellomobile.mvp.sample.github.di.DaggerAppComponent; import com...
/content/code_sandbox/sample-github/src/main/java/com/arellomobile/mvp/sample/github/app/GithubApp.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
192
```java package com.arellomobile.mvp.sample.github.app; import java.io.IOException; import org.json.JSONException; import org.json.JSONObject; import okhttp3.ResponseBody; /** * Date: 18.01.2016 * Time: 14:11 * * @author Yuri Shmakov */ public class GithubError extends Throwable { public GithubError(ResponseB...
/content/code_sandbox/sample-github/src/main/java/com/arellomobile/mvp/sample/github/app/GithubError.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
138
```java package com.arellomobile.mvp.sample.github.mvp; import java.util.List; import com.arellomobile.mvp.sample.github.app.GithubApi; import com.arellomobile.mvp.sample.github.mvp.models.Repository; import com.arellomobile.mvp.sample.github.mvp.models.User; import rx.Observable; /** * Date: 20.09.2016 * Time: 2...
/content/code_sandbox/sample-github/src/main/java/com/arellomobile/mvp/sample/github/mvp/GithubService.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
178
```java package com.arellomobile.mvp.sample.github.mvp.common; /** * Date: 18.01.2016 * Time: 15:02 * * @author Yuri Shmakov */ public class AuthUtils { private static final String TOKEN = "token"; public static String getToken() { return PrefUtils.getPrefs().getString(TOKEN, ""); } public static void set...
/content/code_sandbox/sample-github/src/main/java/com/arellomobile/mvp/sample/github/mvp/common/AuthUtils.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
105
```java package com.arellomobile.mvp.sample.github.mvp.common; import android.content.Context; import android.content.SharedPreferences; import com.arellomobile.mvp.sample.github.app.GithubApp; /** * Date: 18.01.2016 * Time: 15:01 * * @author Yuri Shmakov */ public class PrefUtils { private static final String...
/content/code_sandbox/sample-github/src/main/java/com/arellomobile/mvp/sample/github/mvp/common/PrefUtils.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
128
```java package com.arellomobile.mvp.sample.github.mvp.views; import java.util.List; import com.arellomobile.mvp.sample.github.mvp.models.Repository; import com.arellomobile.mvp.MvpView; import com.arellomobile.mvp.viewstate.strategy.AddToEndSingleStrategy; import com.arellomobile.mvp.viewstate.strategy.AddToEndStrat...
/content/code_sandbox/sample-github/src/main/java/com/arellomobile/mvp/sample/github/mvp/views/RepositoriesView.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
209
```java package com.arellomobile.mvp.sample.github.mvp.views; import java.util.List; import com.arellomobile.mvp.MvpView; import com.arellomobile.mvp.viewstate.strategy.AddToEndSingleStrategy; import com.arellomobile.mvp.viewstate.strategy.StateStrategyType; /** * Date: 26.01.2016 * Time: 16:33 * * @author Yuri ...
/content/code_sandbox/sample-github/src/main/java/com/arellomobile/mvp/sample/github/mvp/views/RepositoryLikesView.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
126
```java package com.arellomobile.mvp.sample.github.mvp.views; import com.arellomobile.mvp.MvpView; /** * Date: 18.01.2016 * Time: 16:04 * * @author Yuri Shmakov */ public interface SignOutView extends MvpView { void signOut(); } ```
/content/code_sandbox/sample-github/src/main/java/com/arellomobile/mvp/sample/github/mvp/views/SignOutView.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
69
```java package com.arellomobile.mvp.sample.github.mvp.views; import com.arellomobile.mvp.sample.github.mvp.models.Repository; import com.arellomobile.mvp.MvpView; /** * Date: 27.01.2016 * Time: 21:13 * * @author Yuri Shmakov */ public interface RepositoryView extends MvpView { void showRepository(Repository re...
/content/code_sandbox/sample-github/src/main/java/com/arellomobile/mvp/sample/github/mvp/views/RepositoryView.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
95
```java package com.arellomobile.mvp.sample.github.mvp.views; import com.arellomobile.mvp.MvpView; /** * Date: 18.01.2016 * Time: 15:39 * * @author Yuri Shmakov */ public interface SplashView extends MvpView { void setAuthorized(boolean isAuthorized); } ```
/content/code_sandbox/sample-github/src/main/java/com/arellomobile/mvp/sample/github/mvp/views/SplashView.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
71
```java package com.arellomobile.mvp.sample.github.mvp.views; import com.arellomobile.mvp.MvpView; import com.arellomobile.mvp.sample.github.mvp.models.Repository; import com.arellomobile.mvp.viewstate.strategy.AddToEndSingleStrategy; import com.arellomobile.mvp.viewstate.strategy.OneExecutionStateStrategy; import com...
/content/code_sandbox/sample-github/src/main/java/com/arellomobile/mvp/sample/github/mvp/views/HomeView.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
164
```java package com.arellomobile.mvp.sample.github.mvp.views; import com.arellomobile.mvp.MvpView; import com.arellomobile.mvp.viewstate.strategy.SingleStateStrategy; import com.arellomobile.mvp.viewstate.strategy.StateStrategyType; /** * Created by senneco on 23.10.2016 */ public interface RepositoryLikeView exten...
/content/code_sandbox/sample-github/src/main/java/com/arellomobile/mvp/sample/github/mvp/views/RepositoryLikeView.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
101
```java package com.arellomobile.mvp.sample.github.mvp.models; import com.j256.ormlite.field.DatabaseField; import com.j256.ormlite.table.DatabaseTable; /** * Date: 18.01.2016 * Time: 12:09 * * @author Yuri Shmakov */ @DatabaseTable public class User { public static class Column { public static final String ...
/content/code_sandbox/sample-github/src/main/java/com/arellomobile/mvp/sample/github/mvp/models/User.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
549
```java package com.arellomobile.mvp.sample.github.mvp.views; import com.arellomobile.mvp.MvpView; import com.arellomobile.mvp.viewstate.strategy.AddToEndSingleStrategy; import com.arellomobile.mvp.viewstate.strategy.SkipStrategy; import com.arellomobile.mvp.viewstate.strategy.StateStrategyType; /** * Date: 15.01.20...
/content/code_sandbox/sample-github/src/main/java/com/arellomobile/mvp/sample/github/mvp/views/SignInView.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
166
```java package com.arellomobile.mvp.sample.github.mvp.models.gson; import java.util.List; import com.arellomobile.mvp.sample.github.mvp.models.Repository; /** * Date: 18.01.2016 * Time: 12:13 * * @author Yuri Shmakov */ public class SearchResult { private int mTotalCount; private boolean mIncompleteResults; ...
/content/code_sandbox/sample-github/src/main/java/com/arellomobile/mvp/sample/github/mvp/models/gson/SearchResult.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
103
```java package com.arellomobile.mvp.sample.github.mvp.presenters; import java.util.List; import com.arellomobile.mvp.InjectViewState; import com.arellomobile.mvp.MvpPresenter; import com.arellomobile.mvp.sample.github.mvp.models.Repository; import com.arellomobile.mvp.sample.github.mvp.views.RepositoryView; /** * ...
/content/code_sandbox/sample-github/src/main/java/com/arellomobile/mvp/sample/github/mvp/presenters/RepositoryPresenter.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
288
```java package com.arellomobile.mvp.sample.github.mvp.presenters; import android.text.TextUtils; import android.util.Base64; import com.arellomobile.mvp.InjectViewState; import com.arellomobile.mvp.sample.github.R; import com.arellomobile.mvp.sample.github.app.GithubApp; import com.arellomobile.mvp.sample.github.com...
/content/code_sandbox/sample-github/src/main/java/com/arellomobile/mvp/sample/github/mvp/presenters/SignInPresenter.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
448
```java package com.arellomobile.mvp.sample.github.mvp.presenters; import com.arellomobile.mvp.sample.github.mvp.models.Repository; import com.arellomobile.mvp.sample.github.mvp.views.HomeView; import com.arellomobile.mvp.InjectViewState; import com.arellomobile.mvp.MvpPresenter; /** * Date: 27.01.2016 * Time: 19:5...
/content/code_sandbox/sample-github/src/main/java/com/arellomobile/mvp/sample/github/mvp/presenters/HomePresenter.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
149
```java package com.arellomobile.mvp.sample.github.mvp.presenters; import java.util.ArrayList; import java.util.List; import java.util.concurrent.TimeUnit; import com.arellomobile.mvp.InjectViewState; import com.arellomobile.mvp.sample.github.mvp.views.RepositoryLikesView; import rx.Observable; import rx.Subscriptio...
/content/code_sandbox/sample-github/src/main/java/com/arellomobile/mvp/sample/github/mvp/presenters/RepositoryLikesPresenter.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
443
```java package com.arellomobile.mvp.sample.github.mvp.presenters; import android.support.annotation.NonNull; import com.arellomobile.mvp.MvpPresenter; import com.arellomobile.mvp.MvpView; import rx.Subscription; import rx.subscriptions.CompositeSubscription; public class BasePresenter<View extends MvpView> extends...
/content/code_sandbox/sample-github/src/main/java/com/arellomobile/mvp/sample/github/mvp/presenters/BasePresenter.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
123
```java package com.arellomobile.mvp.sample.github.mvp.models; import java.io.Serializable; import java.util.Date; import com.google.gson.annotations.SerializedName; import com.j256.ormlite.field.DataType; import com.j256.ormlite.field.DatabaseField; import com.j256.ormlite.table.DatabaseTable; /** * Date: 18.01.20...
/content/code_sandbox/sample-github/src/main/java/com/arellomobile/mvp/sample/github/mvp/models/Repository.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
1,874
```java package com.arellomobile.mvp.sample.github.mvp.presenters; import android.text.TextUtils; import com.arellomobile.mvp.MvpPresenter; import com.arellomobile.mvp.sample.github.mvp.common.AuthUtils; import com.arellomobile.mvp.sample.github.mvp.views.SplashView; /** * This presenter's View doesn't want ViewSta...
/content/code_sandbox/sample-github/src/main/java/com/arellomobile/mvp/sample/github/mvp/presenters/SplashPresenter.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
146
```java package com.arellomobile.mvp.sample.github.mvp.presenters; import com.arellomobile.mvp.sample.github.mvp.common.AuthUtils; import com.arellomobile.mvp.sample.github.mvp.views.SignOutView; import com.arellomobile.mvp.InjectViewState; import com.arellomobile.mvp.MvpPresenter; /** * Date: 18.01.2016 * Time: 16...
/content/code_sandbox/sample-github/src/main/java/com/arellomobile/mvp/sample/github/mvp/presenters/SignOutPresenter.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
135
```java package android.app; /** * Date: 17-Dec-16 * Time: 21:58 * * @author Konstantin Tckhovrebov */ public class DialogFragment extends Fragment { } ```
/content/code_sandbox/moxy-android/stub-android/src/main/java/android/app/DialogFragment.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
47
```java package com.arellomobile.mvp.sample.github.mvp.presenters; import java.util.List; import com.arellomobile.mvp.InjectViewState; import com.arellomobile.mvp.sample.github.app.GithubApi; import com.arellomobile.mvp.sample.github.app.GithubApp; import com.arellomobile.mvp.sample.github.common.Utils; import com.ar...
/content/code_sandbox/sample-github/src/main/java/com/arellomobile/mvp/sample/github/mvp/presenters/RepositoriesPresenter.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
725
```java package android.app; import android.os.Bundle; /** * Created by senneco on 11.10.2016 */ public class Fragment { public void onCreate(Bundle savedInstanceState) { throw new RuntimeException("Stub!"); } public void onStart() { throw new RuntimeException("Stub!"); } public void onResume() { thr...
/content/code_sandbox/moxy-android/stub-android/src/main/java/android/app/Fragment.java
java
2016-02-12T08:35:25
2024-07-28T20:03:03
Moxy
Arello-Mobile/Moxy
1,609
183