Giter Club home page Giter Club logo

droidkaigi2016's Introduction

DroidKaigi 2016 official Android app Circle CI Stories in Ready

DroidKaigi is a conference tailored for developers on 18th and 19th February 2016.

Try it on your device via DeployGate

Features

  • Show all sessions
  • Manage schedule
  • Show map
  • Search sessions and speakers

Development Environment

Java8 & retrolambda

This project uses Java8 and retrolambda. If you haven't set up Java8 yet, install it from here, and set env JAVA_HOME or JAVA8_HOME.

DataBinding

This project tries to use DataBinding.

<TextView
    android:id="@+id/txt_place"
    style="@style/Tag"
    android:layout_marginEnd="@dimen/spacing_xsmall"
    android:layout_marginRight="@dimen/spacing_xsmall"
    android:layout_marginTop="@dimen/spacing_xsmall"
    android:background="@drawable/tag_language"
    android:text="@{session.place.name}" /

Custom attributes are also used like below.

<ImageView
    android:id="@+id/img_speaker"
    android:layout_width="@dimen/user_image_small"
    android:layout_height="@dimen/user_image_small"
    android:layout_below="@id/tag_container"
    android:layout_marginTop="@dimen/spacing_small"
    android:contentDescription="@string/speaker"
    app:speakerImageUrl="@{session.speaker.imageUrl}" />

BindingAdapter like speakerImageUrl is written in DataBindingAttributeUtil.java.

@BindingAdapter("speakerImageUrl")
public static void setSpeakerImageUrl(ImageView imageView, @Nullable String imageUrl) {
    if (TextUtils.isEmpty(imageUrl)) {
        imageView.setImageDrawable(ContextCompat.getDrawable(imageView.getContext(), R.drawable.ic_speaker_placeholder));
    } else {
        Picasso.with(imageView.getContext())
                .load(imageUrl)
                .placeholder(R.drawable.ic_speaker_placeholder)
                .error(R.drawable.ic_speaker_placeholder)
                .transform(new CropCircleTransformation())
                .into(imageView);
    }
}

Dagger2

This project uses DI library Dagger2. See classes in di package.

src/main/java/io/github/droidkaigi/confsched/di
|
|--scope
|  |--ActivityScope.java
|  |--FragmentScope.java
|
|--ActivityComponent.java
|--ActivityModule.java
|--AppComponent.java
|--AppModule.java
|--FragmentComponent.java
|--FragmentModule.java

Orma

This project uses ORM library Android-Orma. Android-Orma is a lightning-fast and annotation based wrapper library of SQLiteDatabase.

Some model classes in model package have @Table annotation.

@Table
public class Session {
    @Column(indexed = true)
    @SerializedName("id")
    public int id;

    @Column(indexed = true)
    @SerializedName("title")
    public String title;

    // ...
}

These classes are saved in database via dao/SessionDao. To know more about Android-Orma, see document.

Todo

This project is under development. Issues are managed by waffle.io. https://waffle.io/konifar/droidkaigi2016

If you have a feature you want or find some bugs, please write an issue.

Libraries

This project uses some modern Android libraries.

License

Copyright 2016 Yusuke Konishi

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

droidkaigi2016's People

Contributors

konifar avatar hkurokawa avatar punchdrunker avatar gotokatsuya avatar keithyokoma avatar hotchemi avatar operando avatar ken5scal avatar gfx avatar zaki50 avatar syarihu avatar shihochan avatar thagikura avatar k-mats avatar ytrino avatar cafedeaqua avatar cutmail avatar kazyx avatar mhidaka avatar mochico avatar mstssk avatar ogapants avatar shiraji avatar suino avatar takahirom avatar

Stargazers

 avatar

Watchers

James Cloos avatar Daiki Kajiwara avatar  avatar

Forkers

futabooo

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.