Skip to content

Commit

Permalink
Package refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
fabioCollini committed Apr 8, 2017
1 parent 941447a commit 8e79b4e
Show file tree
Hide file tree
Showing 17 changed files with 17 additions and 18 deletions.
Expand Up @@ -8,7 +8,7 @@
import android.support.test.rule.ActivityTestRule;
import android.support.v4.app.Fragment;

import it.cosenonjaviste.mv2m.ViewModel;
import it.cosenonjaviste.core.base.ViewModel;
import it.cosenonjaviste.ui.utils.SingleFragmentActivity;

public class FragmentRule extends ActivityTestRule<SingleFragmentActivity> {
Expand Down
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package it.cosenonjaviste.mv2m;
package it.cosenonjaviste.core.base;

import android.content.Intent;
import android.os.Bundle;
Expand Down
Expand Up @@ -13,14 +13,13 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package it.cosenonjaviste.mv2m.rx;
package it.cosenonjaviste.core.base;


import android.os.Parcelable;
import android.support.v4.app.Fragment;

import io.reactivex.disposables.CompositeDisposable;
import it.cosenonjaviste.mv2m.ViewModel;

public abstract class RxViewModel<A, M extends Parcelable> extends ViewModel<A, M> {

Expand Down
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package it.cosenonjaviste.mv2m;
package it.cosenonjaviste.core.base;

import android.content.Intent;
import android.os.Bundle;
Expand Down
Expand Up @@ -13,9 +13,9 @@
import it.codingjam.lifecyclebinder.BindLifeCycle;
import it.cosenonjaviste.R;
import it.cosenonjaviste.core.Navigator;
import it.cosenonjaviste.core.base.RxViewModel;
import it.cosenonjaviste.core.utils.EmailVerifier;
import it.cosenonjaviste.model.MailJetService;
import it.cosenonjaviste.mv2m.rx.RxViewModel;

public class ContactViewModel extends RxViewModel<Void, ContactModel> {

Expand Down
Expand Up @@ -3,7 +3,7 @@
import android.databinding.ObservableBoolean;

import io.reactivex.disposables.Disposable;
import it.cosenonjaviste.mv2m.rx.RxViewModel;
import it.cosenonjaviste.core.base.RxViewModel;

public abstract class RxListViewModel<A, M extends ListModel<?>> extends RxViewModel<A, M> implements GenericRxListViewModel {
protected ObservableBoolean loading = new ObservableBoolean();
Expand Down
Expand Up @@ -7,8 +7,8 @@

import it.codingjam.lifecyclebinder.BindLifeCycle;
import it.cosenonjaviste.core.Navigator;
import it.cosenonjaviste.core.base.ViewModel;
import it.cosenonjaviste.model.Post;
import it.cosenonjaviste.mv2m.ViewModel;

public class PageViewModel extends ViewModel<Post, PageModel> {

Expand Down
Expand Up @@ -5,7 +5,7 @@
import it.cosenonjaviste.core.author.AuthorListViewModel;
import it.cosenonjaviste.databinding.AuthorCellBinding;
import it.cosenonjaviste.model.Author;
import it.cosenonjaviste.mv2m.recycler.BindableViewHolder;
import it.cosenonjaviste.ui.recycler.BindableViewHolder;


public class AuthorViewHolder extends BindableViewHolder<Author> {
Expand Down
Expand Up @@ -5,7 +5,7 @@
import it.cosenonjaviste.core.category.CategoryListViewModel;
import it.cosenonjaviste.databinding.CategoryRowBinding;
import it.cosenonjaviste.model.Category;
import it.cosenonjaviste.mv2m.recycler.BindableViewHolder;
import it.cosenonjaviste.ui.recycler.BindableViewHolder;


public class CategoryViewHolder extends BindableViewHolder<Category> {
Expand Down
Expand Up @@ -5,7 +5,7 @@
import it.cosenonjaviste.core.post.PostListViewModel;
import it.cosenonjaviste.databinding.PostRowBinding;
import it.cosenonjaviste.model.Post;
import it.cosenonjaviste.mv2m.recycler.BindableViewHolder;
import it.cosenonjaviste.ui.recycler.BindableViewHolder;


public class PostViewHolder extends BindableViewHolder<Post> {
Expand Down
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package it.cosenonjaviste.mv2m.recycler;
package it.cosenonjaviste.ui.recycler;

import android.databinding.ObservableList;
import android.support.v7.widget.RecyclerView;
Expand Down
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package it.cosenonjaviste.mv2m.recycler;
package it.cosenonjaviste.ui.recycler;

import android.databinding.ObservableList;
import android.support.v7.widget.RecyclerView;
Expand Down
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package it.cosenonjaviste.mv2m.recycler;
package it.cosenonjaviste.ui.recycler;

import android.support.v7.widget.RecyclerView;
import android.view.View;
Expand Down
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package it.cosenonjaviste.mv2m.recycler;
package it.cosenonjaviste.ui.recycler;

import android.databinding.ObservableList;
import android.databinding.ObservableList.OnListChangedCallback;
Expand Down
Expand Up @@ -4,7 +4,7 @@

import it.cosenonjaviste.databinding.TweetRowBinding;
import it.cosenonjaviste.model.Tweet;
import it.cosenonjaviste.mv2m.recycler.BindableViewHolder;
import it.cosenonjaviste.ui.recycler.BindableViewHolder;


public class TweetViewHolder extends BindableViewHolder<Tweet> {
Expand Down
Expand Up @@ -9,7 +9,7 @@
import it.cosenonjaviste.core.list.ListModel;
import it.cosenonjaviste.core.list.RxListViewModel;
import it.cosenonjaviste.databinding.RecyclerBinding;
import it.cosenonjaviste.mv2m.recycler.BindableAdapter;
import it.cosenonjaviste.ui.recycler.BindableAdapter;

public class RecyclerBindingBuilder<T> {

Expand Down
Expand Up @@ -10,7 +10,7 @@
import android.view.MenuItem;

import it.cosenonjaviste.R;
import it.cosenonjaviste.mv2m.ArgumentManager;
import it.cosenonjaviste.core.base.ArgumentManager;

public class SingleFragmentActivity extends AppCompatActivity {

Expand Down

0 comments on commit 8e79b4e

Please sign in to comment.