Giter Site home page Giter Site logo

Androidx duplicate dependencies about moxy HOT 7 OPEN

pavelpoley avatar pavelpoley commented on June 17, 2024
Androidx duplicate dependencies

from moxy.

Comments (7)

fmaxx avatar fmaxx commented on June 17, 2024 2

that works on my Android-x project ($versions.moxy = 1.7.0):

 implementation "tech.schoolhelper:moxy-x:$versions.moxy"
 implementation "tech.schoolhelper:moxy-x-android:$versions.moxy"
 annotationProcessor "tech.schoolhelper:moxy-x-compiler:$versions.moxy"

from moxy.

bitizen248 avatar bitizen248 commented on June 17, 2024 1

Use should also use custom Moxy
https://github.com/schoolhelper/MoxyX

This worked for me

from moxy.

victorlapin avatar victorlapin commented on June 17, 2024

Don't mix dependencies, add only moxy-x or moxy

from moxy.

pavelpoley avatar pavelpoley commented on June 17, 2024

if i add only
implementation 'tech.schoolhelper:moxy-x-androidx:1.7.0'
all classes related to presenters not found

from moxy.

morozione avatar morozione commented on June 17, 2024

You can solve the problem by don't add implementation "com.arello-mobile:moxy-app-compat:$moxy" to your project but instead of this you can create your class com.arellomobile.mvp.MvpAppCompatActivity with the code from this repository but with the dependency on androidX and use it as well. Here is come a couple of code:

package com.arellomobile.mvp;

import android.os.Bundle;
import androidx.appcompat.app.AppCompatActivity;

@SuppressWarnings("unused")
public class MvpAppCompatActivity extends AppCompatActivity {
    private MvpDelegate<? extends MvpAppCompatActivity> mMvpDelegate;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        getMvpDelegate().onCreate(savedInstanceState);
    }

from moxy.

ShwetaChauhan18 avatar ShwetaChauhan18 commented on June 17, 2024

this works on my Android-x project

  implementation 'tech.schoolhelper:moxy-x:1.7.0'
  implementation 'tech.schoolhelper:moxy-x-androidx:1.7.0'
  kapt 'tech.schoolhelper:moxy-x-compiler:1.7.0'

from moxy.

VovaStelmashchuk avatar VovaStelmashchuk commented on June 17, 2024

Hi, all
Check a new version of moxy [https://github.com/moxy-community/Moxy](New Moxy).

This repo and repo of tech.schoolhelper are not up to date.

from moxy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.