Я интегрирую Helpshift
SDK в android. Все отлично работает, но я хочу добавить разделитель в нем как скриншот.
sdk версия implementation 'com.helpshift:android-helpshift-aar:7.7.2'
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main)
val configBuilder = ApiConfig.Builder()
configBuilder.setRequireEmail(true)
Support.showFAQs(this,configBuilder.build())
finish()
}
}
и вот мой Application class
. Применение класса: Support.Delegate {
override fun onCreate() {
super.onCreate()
Core.init(Support.getInstance())
val installConfig = InstallConfig.Builder()
.setFont("fonts/sofia_pro_regular.otf")
.setEnableInAppNotification(true)
.build()
Core.install(
this, "my_key",
"my_key",
"my_key",
installConfig
)
//Set Helpshift Delegate
Support.setDelegate(this)
}
override fun sessionEnded() {
}
override fun didReceiveNotification(p0: Int) {
}
override fun userRepliedToConversation(p0: String?) {
}
override fun userCompletedCustomerSatisfactionSurvey(p0: Int, p1: String?) {
}
override fun sessionBegan() {
}
override fun authenticationFailed(p0: HelpshiftUser?, p1: AuthenticationFailureReason?) {
}
override fun newConversationStarted(p0: String?) {
}
override fun conversationEnded() {
}
override fun displayAttachmentFile(p0: Uri?) {
}
override fun displayAttachmentFile(p0: File?) {
}
}