René's URL Explorer Experiment


Title: MainActivity_ is not abstract and does not override abstract method findViewById(int) in HasViews · Issue #2001 · androidannotations/androidannotations · GitHub

Open Graph Title: MainActivity_ is not abstract and does not override abstract method findViewById(int) in HasViews · Issue #2001 · androidannotations/androidannotations

X Title: MainActivity_ is not abstract and does not override abstract method findViewById(int) in HasViews · Issue #2001 · androidannotations/androidannotations

Description: I try to compile sample project with Android Studio 3.0-preview1 and Support Library 26.0.0-beta1 but get an compile time error "MainActivity_ is not abstract and does not override abstract method findViewById(int) in HasViews" AndroidAn...

Open Graph Description: I try to compile sample project with Android Studio 3.0-preview1 and Support Library 26.0.0-beta1 but get an compile time error "MainActivity_ is not abstract and does not override abstract method ...

X Description: I try to compile sample project with Android Studio 3.0-preview1 and Support Library 26.0.0-beta1 but get an compile time error "MainActivity_ is not abstract and does not override abstract me...

Opengraph URL: https://github.com/androidannotations/androidannotations/issues/2001

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"MainActivity_ is not abstract and does not override abstract method findViewById(int) in HasViews","articleBody":"I try to compile sample project with Android Studio 3.0-preview1 and Support Library 26.0.0-beta1 but get an compile time error \"MainActivity_ is not abstract and does not override abstract method findViewById(int) in HasViews\"\r\n\r\n**AndroidAnnotations version**:\r\n4.3.0\r\n**Android compile SDK version**:\r\nandroid-O\r\n**Project build config**:\r\n```gradle\r\nbuildscript {\r\n\r\n    repositories {\r\n        maven { url 'https://maven.google.com' }\r\n        jcenter()\r\n    }\r\n    dependencies {\r\n        classpath 'com.android.tools.build:gradle:3.0.0-alpha1'\r\n\r\n        // NOTE: Do not place your application dependencies here; they belong\r\n        // in the individual module build.gradle files\r\n    }\r\n}\r\n\r\nallprojects {\r\n    repositories {\r\n        jcenter()\r\n        maven { url 'https://maven.google.com' }\r\n    }\r\n}\r\n\r\ntask clean(type: Delete) {\r\n    delete rootProject.buildDir\r\n}\r\n```\r\n**Module build config**:\r\n```gradle\r\napply plugin: 'com.android.application'\r\n\r\nandroid {\r\n    compileSdkVersion 'android-O'\r\n    buildToolsVersion \"26.0.0-rc2\"\r\n    defaultConfig {\r\n        applicationId \"com.example.timurgilfanov.myapplication\"\r\n        minSdkVersion 15\r\n        targetSdkVersion 26\r\n        versionCode 1\r\n        versionName \"1.0\"\r\n        testInstrumentationRunner \"android.support.test.runner.AndroidJUnitRunner\"\r\n    }\r\n    buildTypes {\r\n        release {\r\n            minifyEnabled false\r\n            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'\r\n        }\r\n    }\r\n}\r\n\r\ndependencies {\r\n    compile fileTree(dir: 'libs', include: ['*.jar'])\r\n    androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {\r\n        exclude group: 'com.android.support', module: 'support-annotations'\r\n    })\r\n    compile 'com.android.support:appcompat-v7:26.0.0-beta1'\r\n    annotationProcessor 'org.androidannotations:androidannotations:4.3.0'\r\n    compile 'org.androidannotations:androidannotations-api:4.3.0'\r\n    testCompile 'junit:junit:4.12'\r\n    compile 'com.android.support.constraint:constraint-layout:1.0.2'\r\n}\r\n\r\n```\r\n**Annotated code**:\r\n```java\r\n@EActivity(R.layout.activity_main)\r\npublic class MainActivity extends AppCompatActivity {}\r\n```\r\n\r\n**Expected generated code**:\r\n```java\r\npublic final class MainActivity_ extends MainActivity implements HasViews, OnViewChangedListener\r\n{\r\n...\r\n    @Override\r\n    public View findViewById(int id) {\r\n        ...\r\n    }\r\n...\r\n}\r\n```\r\n\r\n**Actual generated code**:\r\n```java\r\npackage com.example.timurgilfanov.myapplication;\r\n\r\nimport android.app.Activity;\r\nimport android.content.Context;\r\nimport android.os.Build.VERSION;\r\nimport android.os.Build.VERSION_CODES;\r\nimport android.os.Bundle;\r\nimport android.support.v4.app.ActivityCompat;\r\nimport android.view.View;\r\nimport android.view.ViewGroup.LayoutParams;\r\nimport org.androidannotations.api.builder.ActivityIntentBuilder;\r\nimport org.androidannotations.api.builder.PostActivityStarter;\r\nimport org.androidannotations.api.view.HasViews;\r\nimport org.androidannotations.api.view.OnViewChangedNotifier;\r\n\r\npublic final class MainActivity_  extends MainActivity implements HasViews\r\n{\r\n    private final OnViewChangedNotifier onViewChangedNotifier_ = new OnViewChangedNotifier();\r\n\r\n    @Override\r\n    public void onCreate(Bundle savedInstanceState) {\r\n        OnViewChangedNotifier previousNotifier = OnViewChangedNotifier.replaceNotifier(onViewChangedNotifier_);\r\n        init_(savedInstanceState);\r\n        super.onCreate(savedInstanceState);\r\n        OnViewChangedNotifier.replaceNotifier(previousNotifier);\r\n        setContentView(R.layout.activity_main);\r\n    }\r\n\r\n    private void init_(Bundle savedInstanceState) {\r\n    }\r\n\r\n    @Override\r\n    public void setContentView(int layoutResID) {\r\n        super.setContentView(layoutResID);\r\n        onViewChangedNotifier_.notifyViewChanged(this);\r\n    }\r\n\r\n    @Override\r\n    public void setContentView(View view, LayoutParams params) {\r\n        super.setContentView(view, params);\r\n        onViewChangedNotifier_.notifyViewChanged(this);\r\n    }\r\n\r\n    @Override\r\n    public void setContentView(View view) {\r\n        super.setContentView(view);\r\n        onViewChangedNotifier_.notifyViewChanged(this);\r\n    }\r\n\r\n    public static MainActivity_.IntentBuilder_ intent(Context context) {\r\n        return new MainActivity_.IntentBuilder_(context);\r\n    }\r\n\r\n    public static MainActivity_.IntentBuilder_ intent(android.app.Fragment fragment) {\r\n        return new MainActivity_.IntentBuilder_(fragment);\r\n    }\r\n\r\n    public static MainActivity_.IntentBuilder_ intent(android.support.v4.app.Fragment supportFragment) {\r\n        return new MainActivity_.IntentBuilder_(supportFragment);\r\n    }\r\n\r\n    public static class IntentBuilder_\r\n        extends ActivityIntentBuilder\u003cMainActivity_.IntentBuilder_\u003e\r\n    {\r\n        private android.app.Fragment fragment_;\r\n        private android.support.v4.app.Fragment fragmentSupport_;\r\n\r\n        public IntentBuilder_(Context context) {\r\n            super(context, MainActivity_.class);\r\n        }\r\n\r\n        public IntentBuilder_(android.app.Fragment fragment) {\r\n            super(fragment.getActivity(), MainActivity_.class);\r\n            fragment_ = fragment;\r\n        }\r\n\r\n        public IntentBuilder_(android.support.v4.app.Fragment fragment) {\r\n            super(fragment.getActivity(), MainActivity_.class);\r\n            fragmentSupport_ = fragment;\r\n        }\r\n\r\n        @Override\r\n        public PostActivityStarter startForResult(int requestCode) {\r\n            if (fragmentSupport_!= null) {\r\n                fragmentSupport_.startActivityForResult(intent, requestCode);\r\n            } else {\r\n                if (fragment_!= null) {\r\n                    if (VERSION.SDK_INT \u003e= VERSION_CODES.JELLY_BEAN) {\r\n                        fragment_.startActivityForResult(intent, requestCode, lastOptions);\r\n                    } else {\r\n                        fragment_.startActivityForResult(intent, requestCode);\r\n                    }\r\n                } else {\r\n                    if (context instanceof Activity) {\r\n                        Activity activity = ((Activity) context);\r\n                        ActivityCompat.startActivityForResult(activity, intent, requestCode, lastOptions);\r\n                    } else {\r\n                        if (VERSION.SDK_INT \u003e= VERSION_CODES.JELLY_BEAN) {\r\n                            context.startActivity(intent, lastOptions);\r\n                        } else {\r\n                            context.startActivity(intent);\r\n                        }\r\n                    }\r\n                }\r\n            }\r\n            return new PostActivityStarter(context);\r\n        }\r\n    }\r\n}\r\n```\r\n\r\n**Stacktrace in case of AA crash**:\r\nMainActivity_ is not abstract and does not override abstract method findViewById(int) in HasViews","author":{"url":"https://github.com/timurgilfanov","@type":"Person","name":"timurgilfanov"},"datePublished":"2017-05-18T12:05:10.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":13},"url":"https://github.com/2001/androidannotations/issues/2001"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:775e2f02-1a1f-a9d9-2f2c-3a67b98200cb
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id92CC:3E096D:12DF6E8:196E296:6A606824
html-safe-nonce117a61cf7f4665012e94ae9c853381bf4972af3672350184bd0872042cd1d958
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MkNDOjNFMDk2RDoxMkRGNkU4OjE5NkUyOTY6NkE2MDY4MjQiLCJ2aXNpdG9yX2lkIjoiNDgxODU0OTQ5OTM2NjUwMDM4OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac7c655463c16ef424987bcaa90aafc4c15dc155d947d4639d6366f2530a2be3b0
hovercard-subject-tagissue:229646590
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/androidannotations/androidannotations/2001/issue_layout
twitter:imagehttps://opengraph.githubassets.com/9f8d70dde6daefc009354c3fb4311a1e45de8a166fc8435056bec4b0c7d7e76a/androidannotations/androidannotations/issues/2001
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9f8d70dde6daefc009354c3fb4311a1e45de8a166fc8435056bec4b0c7d7e76a/androidannotations/androidannotations/issues/2001
og:image:altI try to compile sample project with Android Studio 3.0-preview1 and Support Library 26.0.0-beta1 but get an compile time error "MainActivity_ is not abstract and does not override abstract method ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernametimurgilfanov
hostnamegithub.com
expected-hostnamegithub.com
None60da8c2a42fa2bbf5f7567474990ec467836a84444262a58e200fa91b7f3d2d0
turbo-cache-controlno-preview
go-importgithub.com/androidannotations/androidannotations git https://github.com/androidannotations/androidannotations.git
octolytics-dimension-user_id1315313
octolytics-dimension-user_loginandroidannotations
octolytics-dimension-repository_id3116751
octolytics-dimension-repository_nwoandroidannotations/androidannotations
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3116751
octolytics-dimension-repository_network_root_nwoandroidannotations/androidannotations
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9824515e740d83d5eb82168a089b806ab0fe04a1
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/androidannotations/androidannotations/issues/2001#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fandroidannotations%2Fandroidannotations%2Fissues%2F2001
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fandroidannotations%2Fandroidannotations%2Fissues%2F2001
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=androidannotations%2Fandroidannotations
Reloadhttps://github.com/androidannotations/androidannotations/issues/2001
Reloadhttps://github.com/androidannotations/androidannotations/issues/2001
Reloadhttps://github.com/androidannotations/androidannotations/issues/2001
Please reload this pagehttps://github.com/androidannotations/androidannotations/issues/2001
androidannotations https://github.com/androidannotations
androidannotationshttps://github.com/androidannotations/androidannotations
Notifications https://github.com/login?return_to=%2Fandroidannotations%2Fandroidannotations
Fork 2.3k https://github.com/login?return_to=%2Fandroidannotations%2Fandroidannotations
Star 11k https://github.com/login?return_to=%2Fandroidannotations%2Fandroidannotations
Code https://github.com/androidannotations/androidannotations
Issues 50 https://github.com/androidannotations/androidannotations/issues
Pull requests 0 https://github.com/androidannotations/androidannotations/pulls
Actions https://github.com/androidannotations/androidannotations/actions
Wiki https://github.com/androidannotations/androidannotations/wiki
Security and quality 0 https://github.com/androidannotations/androidannotations/security
Insights https://github.com/androidannotations/androidannotations/pulse
Code https://github.com/androidannotations/androidannotations
Issues https://github.com/androidannotations/androidannotations/issues
Pull requests https://github.com/androidannotations/androidannotations/pulls
Actions https://github.com/androidannotations/androidannotations/actions
Wiki https://github.com/androidannotations/androidannotations/wiki
Security and quality https://github.com/androidannotations/androidannotations/security
Insights https://github.com/androidannotations/androidannotations/pulse
#2008https://github.com/androidannotations/androidannotations/pull/2008
MainActivity_ is not abstract and does not override abstract method findViewById(int) in HasViewshttps://github.com/androidannotations/androidannotations/issues/2001#top
#2008https://github.com/androidannotations/androidannotations/pull/2008
https://github.com/timurgilfanov
timurgilfanovhttps://github.com/timurgilfanov
on May 18, 2017https://github.com/androidannotations/androidannotations/issues/2001#issue-229646590
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.