This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
import Moya | |
import RxSwift | |
/// 인증 관련 API | |
final class AuthService: BaseService<AuthAPI> { | |
static let shared = AuthService() | |
private override init() {} | |
/// 토큰 재발급 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Combine | |
import MapKit | |
import SwiftUI | |
struct AppleMapView_Previews: PreviewProvider { | |
static var previews: some View { | |
AppleMapView() | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Logg { | |
public static void v(String msg) { | |
Log.v(tag(), msg); | |
} | |
public static void d(String msg) { | |
Log.d(tag(), msg); | |
} | |
public static void i(String msg) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package kr.changhoonjin.testmvp.view_models; | |
import android.databinding.ObservableBoolean; | |
import android.databinding.ObservableField; | |
import android.databinding.ObservableInt; | |
import android.text.Editable; | |
import android.text.TextUtils; | |
import android.text.TextWatcher; | |
import android.util.Log; | |
import android.util.Patterns; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// http://stackoverflow.com/a/15074150/1025379 | |
Bundle bundle = getIntent().getExtras(); | |
if (bundle != null) { | |
for (String key : bundle.keySet()) { | |
Object value = bundle.get(key); | |
Log.w("###", String.format("%s: %s (%s)", key, value.toString(), value.getClass().getName())); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class DateFormatter { | |
public static final String YEAR_MONTH_DAY = "yyyy-MM-dd"; | |
public static final String ISO8601 = "yyyy-MM-dd'T'HH:mm:ssZ"; | |
/** | |
* 날짜/시간 변환 | |
* | |
* @param calendar Calendar | |
* @param pattern yyyy-MM-dd HH:mm:ss | |
* @return |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
textName.setTypeface(TypefaceUtil.createLightFont(getApplicationContext())); |