is inaccessible due to its protection level

In your base class Clubs the following are declared protected club; distance; cleanclub; scores; par; hole; which means these can only be accessed by the class itself or any class which derives from Clubs. In your main code, you try to access these outside of the class itself. eg: You have (somewhat correctly) provided public … Read more

Categories c# Tags

Failed to find style ‘coordinatorLayoutStyle’ in current theme

I solved this rendering problem by simply inserting this line into the application theme (the app theme is usually placed in styles.xml). [SDK 28] [SDK 27] As suggested by @Chris. If the IDE does not find the CoordinatorLayout in Widget.Support or Widget.Design, just start typing “CoordinatorLayout” and it should give you some options.