// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.geocities.com/kpdus/jad.html // Decompiler options: braces fieldsfirst space lnc package com.oliodevices.assist.app.fragments; import android.support.v4.app.FragmentActivity; import android.widget.TextView; import com.olio.data.object.user.ActivityTime; import com.olio.data.object.user.ActivityTimes; import com.oliodevices.assist.app.core.ActivityTimeUtils; // Referenced classes of package com.oliodevices.assist.app.fragments: // PersonalInfoFragment, UpdateActivityTimesFragment, AddOrEditActivityNameFragment class this._cls0 extends this._cls0 { final PersonalInfoFragment this$0; public void bind(ActivityTime activitytime) { super._mth0(activitytime); nameView.setText(activitytime.getName()); descriptionLine1View.setText(ActivityTimeUtils.buildTimeDescription(getActivity(), activitytime)); descriptionLine2View.setText(ActivityTimeUtils.buildDayDescription(getActivity(), activitytime)); } public volatile void bind(Object obj) { bind((ActivityTime)obj); } public boolean canEdit() { return true; } public void editItem() { if (isProtected) { startFragment(UpdateActivityTimesFragment.newInstance((ActivityTime)item)); return; } else { startFragment(AddOrEditActivityNameFragment.newInstance((ActivityTime)item)); return; } } public int getItemType() { return 3; } public void removeFromModel() { PersonalInfoFragment.access$200(PersonalInfoFragment.this).removeActivityTime((ActivityTime)item); PersonalInfoFragment.access$200(PersonalInfoFragment.this).save(getActivity().getContentResolver()); } () { this$0 = PersonalInfoFragment.this; super(); } }