Giter VIP home page Giter VIP 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 GitHub Project. https://github.com/konifar/droidkaigi2016/projects/1

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

For speakers

If you want to change description of your session, feel free to send PullRequest ๐Ÿ‘

You have to fix 3 json files below.

If you can write only English or Japanese, it is good to write same description in sessions_en.json and sessions_ja.json. And if you can translate to Arabic by using GoogleTranslate, please write Arabic description in sessions_ar.json.

Thanks! Enjoy together!

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 hotchemi avatar punchdrunker avatar gotokatsuya avatar keithyokoma avatar gfx avatar ken5scal avatar operando avatar mstssk avatar cafedeaqua avatar cutmail avatar zaki50 avatar rejasupotaro avatar cattaka avatar ogapants avatar wakwak3125 avatar ytrino avatar syarihu avatar shihochan avatar dkajiwara avatar yaeda avatar thagikura avatar sgyang avatar k-mats avatar esmasui avatar nkzn avatar mhidaka avatar yulily100 avatar takahirom avatar

Stargazers

katohiro avatar kplus avatar Takuya Endo avatar

Watchers

kplus avatar James Cloos avatar

Forkers

trungspy b3540

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.