Skip to content

Instantly share code, notes, and snippets.

@vishyrich
vishyrich / HomeViewPagerIdentifier.java
Last active Aug 22, 2016
NPE in FrameLayout onMeasure()
View HomeViewPagerIdentifier.java
public enum HomeViewPagerIdentifier {
RECRUITMENT_LIST(RecruitmentListHomeFragment.class, R.string.recruitment_list, R.drawable.tab_icon_recruitment_active, R.drawable.tab_icon_recruitment, true, 0, 0),
FAVORITES_LIST(FavoriteListFragment.class, R.string.favorite_list, R.drawable.tab_icon_favorite_active, R.drawable.tab_icon_favorite, false, 1, -1),
QUICK_RESERVATION(QuickReservationSettingsFragment.class, R.string.quick_reservation, R.drawable.tab_icon_quick_reservation_active, R.drawable.tab_icon_quick_reservation, false, 1, -1),
RESERVATION_LIST(MessageBoxHomeFragment.class, R.string.reservation_list, R.drawable.tab_icon_reservation_active, R.drawable.tab_icon_reservation, false, 2, -1),
PHOTOS(PublicPhotosFragment.class, R.string.photos, R.drawable.tab_icon_snapphoto_active, R.drawable.tab_icon_snapphoto, false, 3, 1),
MY_PAGE(MyPageFragment.class, R.string.my_page, R.drawable.tab_icon_mypage_active, R.drawable.tab_icon_mypage, false, 4, -1);
private final Class<? extends Frag
@vishyrich
vishyrich / twitter_login_logcats.txt
Created Jun 6, 2016
Logcat for Twitter Login issue with Fabric Twitter kit + Android 4.x devices
View twitter_login_logcats.txt
--------- beginning of /dev/log/system
I/Vold ( 244): Vold 2.1 (the revenge) firing up
D/Vold ( 244): Volume sdcard1 state changing -1 (Initializing) -> 0 (No-Media)
D/Vold ( 244): Volume usbmemory state changing -1 (Initializing) -> 0 (No-Media)
E/dalvikvm( 263): Remount of /system failed: Operation not permitted
I/SystemServer( 896): Entered the Android system server!
I/SystemServer( 896): Waiting for installd to be ready.
I/Installer( 896): connecting...
I/SystemServer( 896): Power Manager
I/SystemServer( 896): DeviceManager3LM
You can’t perform that action at this time.