Android: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
Line 12: Line 12:
==Dependencies==
==Dependencies==
<source lang="xml">
<source lang="xml">
<dependency>
    <groupId>com.fasterxml.jackson.core</groupId>
    <artifactId>jackson-databind</artifactId>
    <version>2.11.2</version>
</dependency>
<dependency>
<dependency>
     <groupId>org.androidannotations</groupId>
     <groupId>org.androidannotations</groupId>
Line 18: Line 23:
</dependency>
</dependency>
<dependency>
<dependency>
     <groupId>com.fasterxml.jackson.core</groupId>
     <groupId>org.projectlombok</groupId>
     <artifactId>jackson-databind</artifactId>
     <artifactId>lombok</artifactId>
     <version>2.11.2</version>
     <version>1.18.10</version>
    <scope>provided</scope>
</dependency>
</dependency>
</source>
</source>

Revision as of 01:19, 23 August 2021

@Rest(rootUrl = "https://api.chorke.org/rest/api", converters = { MappingJackson2HttpMessageConverter.class })
public interface EventsApi {
  @Get("/events/{year}/{location}")
  EventList getEventsByYearAndLocation(@Path int year, @Path String location);

  @Get("/events/{year}/{location}")
  EventList getEventsByLocationAndYear(@Path String location, @Path int year);
}

Dependencies

<dependency>
    <groupId>com.fasterxml.jackson.core</groupId>
    <artifactId>jackson-databind</artifactId>
    <version>2.11.2</version>
</dependency>
<dependency>
    <groupId>org.androidannotations</groupId>
    <artifactId>rest-spring</artifactId>
    <version>4.8.0</version>
</dependency>
<dependency>
    <groupId>org.projectlombok</groupId>
    <artifactId>lombok</artifactId>
    <version>1.18.10</version>
    <scope>provided</scope>
</dependency>

Redmi Note 5

Settings » About Phone » MIUI Version (TAP 7 more Times)
Settings » Additional Settings » Scroll Down » Developer Options

Anko Layout

compile 'org.jetbrains.anko:anko-design:0.8.3'
compile 'org.jetbrains.anko:anko-appcompat-v7:0.8.3'

Knowledge

%APPDATA%\..\Local\Android\sdk
Get-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V
Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V
#Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All

References