DroidKaigi 2016


Source link: https://github.com/konifar/droidkaigi2016

DroidKaigi 2016 official Android app

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

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. 

Resources

PeekAndPop is an open source Android library, inspired by Instagram's latest 3D touch feature. As 3D touch is not available for android, this library uses long hold.

Peek and pop allows you to long click on a view to "peek" and see a larger view in the centre of the screen. The pop feature can be imitated using fling to action gestures or from a hold and release event.

Twenty-eight different easing animation interpolators for Android.

Steppers view library for Android, based on Google Material design guidelines.

Group of Preference, just like the Preference of original Android.

Road Runner is a library for android which allow you to make your own loading animation using a SVG image.

This repository contains AnimatedEditText, PinEntryEditText and TextDrawable all of which extend the behaviour of EditText and implement features that are otherwise not available.

Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes