question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Broken generation for parameterized view.

See original GitHub issue

Broken generation if view interface is parameterized of any. Example: @StateStrategyType(SingleStateStrategy.class) public interface CommonView<T> extends MvpView { void showParametrizedData(T any); } @StateStrategyType(SingleStateStrategy.class) public interface MainView extends CommonView<String> { void showNotParametrizedData(String any); }

Gradle log:

:app:javaPreCompileDebug /home/valdzx/Workspace/github/MoxyTesting/app/build/generated/source/apt/debug/ua/com/vald_zx/moxyissuesample/mvp/main/view/MainView$$State.java:27: error: cannot find symbol public void showParametrizedData(T any) { ^ symbol: class T location: class MainView$$State /home/valdzx/Workspace/github/MoxyTesting/app/build/generated/source/apt/debug/ua/com/vald_zx/moxyissuesample/mvp/main/view/MainView$$State.java:58: error: cannot find symbol public final T any; ^ symbol: class T location: class MainView$$State.ShowParametrizedDataCommand /home/valdzx/Workspace/github/MoxyTesting/app/build/generated/source/apt/debug/ua/com/vald_zx/moxyissuesample/mvp/main/view/MainView$$State.java:60: error: cannot find symbol ShowParametrizedDataCommand(T any) { ^ symbol: class T location: class MainView$$State.ShowParametrizedDataCommand 3 errors

Bug actual for version Moxy 1.5.5 On 1.5.3 works fine.

Sample https://github.com/ValdZX/MoxyTesting

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
ekursakovcommented, Oct 24, 2018

I managed to fix this problem, so I create PR shortly after some cleanup.

0reactions
sennecocommented, Mar 4, 2019

@shaders could you help with publishing of new moxy version, pls?) There is merged this PR

Read more comments on GitHub >

github_iconTop Results From Across the Web

parameter view in teradata - sql - Stack Overflow
As I mentioned in the comments, I was tinkering with strtok_split_to_table as a solution to split a delimited list of values into records, ......
Read more >
SQL Server Database Parameterization option and its Query ...
The goal of this article is to give details about the database query parameterization feature and explain its effects on query performance.
Read more >
Overview of Parameterization - Trifacta Documentation
In Dataprep by Trifacta®, parameterization enables you to apply dynamic values to the data that you import and that you generate as part...
Read more >
Parameterized tests - ServiceNow Docs
Run a test multiple times with different test data for each run. Create parameters to store test data for each test run.
Read more >
Simulink Checks - MathWorks
Model Configuration Parameters: Code Generation Optimization (Simulink Coder) ... To enable a broken link, right-click a block in your model to display the ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found